ArteGordon
Wanderer
XenoWolf said:I'm having a problem where, randomly, xmlspawners are chewing up excessive amounts of memory.
There are no errors, no warnings... I load up the server and my memory slowly gets sucked dry a meg at a time. The reason I assume it's xmlspawner is that if I remove them all, the problem corrects itself and my memory is freed. During the memory 'vacuum' the shard freezes every few seconds and renders the shard completely un-playable.
It's not my hardware, as the shard runs perfect and lag-free without the spawners (and when the spawners are working correctly I have plenty of free memory). I was using version 3.11, and I didn't see anything in the changelog that might solve my problem (correct me if I missed it).
Not complaining really, just trying to give you a heads up. I wish I could give you information on how to re-create the problem... but it seems to happen randomly. I also loaded most of the spawners from Neruns' .map files, if that would effect this at all.
I would first try to see if it is due to some particular thing that is being spawned as opposed to the spawners themselves.
When you notice this happening, instead of removing them, try turning them off with
[global set running false where xmlspawner
If it is due to something that was spawned, this will make no difference (since turning them off doesnt remove spawns). If it is due to spawner activity itself then it will.
you can turn them back on again with
[global set running true where xmlspawner