This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: serverside programs


> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]