hi im sorry, i understand this is annoying.
do you know if this happens early in the game? did you restart many times without exiting the application?
it is probably either a leak that has to do something with resetting the world or it's a leak that has something to do with the gameplay itself. if you know the answers to these questions it will help figure out the problem! :)
If I set learning boats first thing, then plant seaweed, one idiot without a boat will walk to the shore and just stand there. That's what causes the "Out of Memory" error for me. Sometimes they're reach 1 point of food and still not die even minutes later, but it always ends in the error eventually.