BasicUI problem open file

Dear all,
I create this new topic because I have found a problem with BasicUI.
This problem call an error “too open files…”, whereas I have “ulimit -a = 524288”

Test :
lsof -p PIDjava | wc -l
Result : 630

If I refresh BasicUI webpage of my openhab something like 50x :
Result : 794

My openhab is installed on mac os. I have a touchscreen panel on my wall to control my home. On the touchpanel there is a sitemap by BasicUI.

The only solution is to restart mac os one time by day ?