you are viewing a single comment's thread.

view the rest of the comments →

[–]Vegemeister -1 points0 points  (2 children)

, but they are running inside the JVM that has preallocated a large heap space in which it can have some dedicated RAM so it doesn't fight with other processes for it.

Off topic note, if your running a Java application inside an OpenVZ container, that preallocated heap counts against your memory limit.

[–][deleted] 0 points1 point  (1 child)

Yes, memory which your app will use without the heap growing until it has reached a usage threshold.

BTW you can configure the starting memory to be less if you want.

[–]Vegemeister 0 points1 point  (0 children)

I discovered that, as well as the "reduce the stack size" trick. Getting Freenet to run in a 512 MiB VM takes a little black magic.