Hi,

I have to leave safari going for two full days to reproduce the issue, hence the slow response here.

Anyway I found the issue:
what happens is that a certain point one of my array (that is used as a task queue) becomes unusable: calling push on it results on a OOM.
I manually tried to replace it with a new one and everything went back to normal.

I will probably introduce a work-around in the library by replacing the array from time to time (better not to wait for the OOM)