aspose file tools*
The moose likes Performance and the fly likes Memory Usage shown by Windows Task Manager and VM Telemetry view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Memory Usage shown by Windows Task Manager and VM Telemetry view " Watch "Memory Usage shown by Windows Task Manager and VM Telemetry view " New topic
Author

Memory Usage shown by Windows Task Manager and VM Telemetry view

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234



Well i have gone hrough this statement ,

the memory usage that is displayed by task manager is slightly different from the heap usage

Please tell me what task manager shows actually beside to javaw.exe ?


Save India From Corruption - Anna Hazare.
Amir Iqbal
Ranch Hand

Joined: Jun 23, 2007
Posts: 97
Hey Ravi,
i would suggest you to use some open source application(s) for performance and memory overview.
for example use "JProfiler" if you want to see the memory usage of your application. this is really a good tool for getting the deep memory info in the form of graphs and charts.



Regards,


i am Java +ve Now !
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks Aamir but my question still remains the same.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5827
    
    7

The memory for the java process reported by the operating system includes:

* The amount of heap space allocated (this is not just the space used by "live" objects)
* The permgen space used to store class info
* The thread stacks (usually 1MB per thread, but that depends on several factors)
* The C/C++ data structures used by the java process
* The memory occupied by the executable and any shared libraries (*.dll, *,so) loaded by the process (if several process use the same code, this is shared between then but is often reported as memory used by each)
(I'm sure I forgot something...)

Monitoring operating system memory stats is NOT the way to determine heap usage - you must use Java-specific tools for this. JConsole, VisualVM and many other tools will provide heap usage information.


JBoss In Action
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks peter that was nice explanation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Memory Usage shown by Windows Task Manager and VM Telemetry view