Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

why my memory use is not equals ?

 
Dingcheng lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My java application run in NT , In the TaskManager show the java.exe only use 140M memory , but the total memory use about 700M, why to cal the memory used in my application? And how to reduce memory use?
who can give me some advice?
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you measure "total memory use"?
 
Dingcheng lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in the taskManager show the total Memory used.it show used 700M.but the java.exe only show 140M.but the garbage collector collect the memeory , the java.exe only used 70M, but when I am exit the java applciation . the taskmanager show only use 225M.why the java.exe only show so little memeoy?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!