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]

Memory problem


Hello, I'm new here... :-)

I have three questions...

First, is the memory allocated to the VM ever released or does it keep
reusing it, but only releases it to the OS when the program exits?

Second, when I start a Java thread from C++ code do I need to do anything
else before I start it, something similar to
JvAttachCurrentThread\JvDetachCurrentThread?

And third, is there a way to set the maximum heap size?

Our application seems to be using much more memory than we think it
should...

Thanks,
Gabriel Bianco


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