JVM runs out of memory
I use jre1.5.0_06. After open a project, my application will have no responses for out of memory. I make the installation with InstallAnywhere 6.0. I don't know how to set JVM memory options such as -Xms512m -Xmx1024m.
I have 4 questions about it.
1. JVM runs out of memory, I have 1500MB free memory. Why?
2. After I open the project file, there will be 17MB used. And after I close the project, 18MB memory will be used! Why increases?
3. After closing the project file, I want to do GC right now. But the used memory is not freed. Why.
4. I minimize the application window and then restore it. The used memory will be 7MB.
Please give me some clues. Thank you.

