overviewer/Minecraft-Overviewer — Issue #522: Option to limit ram
Author: Eviltechie
Created: 2011-10-31 00:44:48+00:00
State: open

This program could really use a command line option to limit ram. When I ran overviewer earlier, it decided to go ahead and eat up all the remaining cpu and nearly all of the remaining ram that I had. The box that I have is beefy, 8 cores and 16 gb ram, but we've pushed it to the max with 6 source servers and 4 minecraft servers. We have to constantly monitor ram to make sure that we don't use it all up, because when the servers start paging, it creates enormous lag. Having overviewer just take the resources that it wants is unacceptable for us.

An option to limit ram would allow us to give overviewer a single core and a gb of ram or two, obviously at the expense of time. Instead of trying to load the entire map into ram (or whatever it does), it would instead load a small portion, do whatever calculations that it needs to, and then write that portion to disk. It would then repeat from there until it had finished.

The grapher that I used previous to this, c10t, works in such a manner. Unfortunately, it hasn't been updated since May, so it doesn't really do much good anymore.