This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: memory leaks and java ...
- From: "Boehm, Hans" <hans_boehm at hp dot com>
- To: "'Adam Megacz'" <adam at megacz dot com>,Ranjit Mathew <rmathew at hotmail dot com>
- Cc: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>, java at gcc dot gnu dot org
- Date: Thu, 3 Apr 2003 10:48:53 -0800
- Subject: RE: memory leaks and java ...
> From: Adam Megacz [mailto:adam at megacz dot com]
> Since mingwm10.dll is NOT present (we're not using -mthreads), we leak
> about 24 bytes of memory per thread created. Somehow that doesn't
> bother me, especially since a conservative garbage collector is likely
> to leak more than that.
I haven't followed the rest of this discussion, but this doesn't seem like a good thing to me. At 10threads/second, that's 1K every 4 seconds, or about 1M an hour. The conservative collector "leaks" should be temporary or one time leaks, not something that keeps growing.
Hans