serverside programs
Erik Poupaert
erik.poupaert@skynet.be
Thu Sep 18 00:45:00 GMT 2003
> ou can always the GC_MAXIMUM_HEAP_SIZE environment variable with libgcj
> to prevent a rogue program from consuming all system resources.
Ok.
Another strategy could be to start and exit the program for every request (like cgi
or xinetd programs). I was wondering, if the program has leaked memory during its
execution, will the OS always and fully reclaim the memory not freed by the program
after the program exits? Or in other words, is "exiting" always a full memory
cleanup?
More information about the Java
mailing list