As a continuation:
Left world map open over night. Firefox ate 2Gig more of memory and hanged up in state of "script doesn't respond".
Had to kill firefox.
Basically that's the question. I have a room with bunch of sources, some of which are protected by source keeper.
Is it worth trying to monitor source keeper activity and constantly kill new spawns and risk workers?
Or is it better to just ignore these sources and move to another room?
Other general question: Is there a way to destroy Source keeper layer?
I'm running simulator survival mode. After about 1000 turns, it gets really slow and I have only 8 creeps spawned.
When I check taskmgr, I see that firefox (I use to run sim) randomly uses 13%CPU (1/8 cores) and it's memory consumption grows for 300MB (in my case from 1Gig to 1.4Gig).
I don't allocate memory except in temporary vars or in creep.memory. This is 1 short string per unit. In any case, summary in "Memory" tab shows that all objects use 1kb memory total.
Pausing script resets browser memory usage to original value, but it grows again once I start script. Seems that temporary memory allocation is about 30-40MB per unit per turn and this seems quite a lot.
I don't have the slowest machine and it runs multiple demanding games. I have this issue on different machines.
Can someone help point a way to improve performance?