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


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