[JAVA2D] memory problems with Java and System.gc()
I'm working on very complex bioinformatic problems where huge arrays of strings and other temporary objects are generated. Even when assigning them to the null-pointer after they are no longer needed and calling System.gc() afterwords does not prevent the system from consuming more and more memory resources instead of using the released space.
How can I force the program to use released space instaed of using new one?
Another problem is, that using the -Xmx parameter when invoking Java at most 999 megabyte can be used (or something like 1016 MB); otherwise the virtual machine crashes with strange error messages. Why cant I use the full 2GB memory available on my machine? I'm using Red Hat 9 Linux and Java 1.4.1.
Thank you for helping me
WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
Informationen unter: http://freemail.web.de/?mc=021199
To unsubscribe, send email to firstname.lastname@example.org and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
email@example.com and include in the body of the message "help".