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]

memory leaks and java ...


I may also have fallen victim to the myth that automatic garbage collection
prevents memory leaks ... If you google on the subject, the problem seems to
be widespread. Are there any particular methods or settings in libgcj that
can be of use to prevent a server application from consuming all memory?
I've already added System.gc() here and there, but I doubt it is such an
effective strategy. By the way, the minGW thread creation seems to leak 4
bytes per thread created. Does anybody know anything about this?


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