This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Too Many Heap Sizes error on Windows
- From: Syed Ahmed <syedahmed1 at sbcglobal dot net>
- To: "Boehm, Hans" <hans dot boehm at hp dot com>, "java at gcc dot gnu dot org" <java at gcc dot gnu dot org>
- Date: Thu, 13 Mar 2008 18:45:24 -0700 (PDT)
- Subject: Re: Too Many Heap Sizes error on Windows
Thanks Hans
I am not too much concerned about the large heap size. As you mentioned I set the GC_PRINT_STATS variable and it look like the garbage collection is unable to catch up with the speed the objects are created and discarded and eventually I get the too many heap sizes.
I control the process, is there a way I can instruct the garbage collection to run like System.gc() in java, I can make the thread sleep for a few seconds while garbage collector is runing.
Any other suggestion?
Syed