Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Get Started Guide
Join the world’s largest interactive community dedicated to Oracle technologies.
Learn from thousands of community experts
Get answers to your technical questions
Share your knowledge with peers
Please enter a title.
You can not post a blank message. Please type your message and try again.
Oracle Technology Network Community (OTN)
This discussion is archived
on Aug 16, 2007 9:21 AM by 843810
memory usage in jvmti
Aug 16, 2007 9:21 AM
I'm writing a profiler using Jvmti on windows that does not seem to free all the memory when I make repeated calls to getallthreads. I have reduced the code to the following:
jvmtiError err = jvmti_env->GetAllThreads(&count,&thread_list_ptr);
err = jvmti_env->Deallocate((unsigned char *)thread_list_ptr);
It look like the java heap memory is being gc but the mem of the java process itself keep rising.
if I remove the calls to GetAllthreads and Deallocate the mem usage of the java process stays constant.
This content has been marked as final.
Show 0 replies