Absent Member.. Absent Member..
Absent Member..

Support tip: Interpreting memdebug:1 output



Sometimes when troubleshooting high memory usage in a system it can be useful to know how to read the output.  Below is how to interpret the output when using the memdebug:1 parameter, along with some other useful tips for troubleshooting memory issues.


3562(    77) 10/19/2011 10:17:43  RTE I -Memory : S(68505705) O(18463027) MAX(88101580) - MALLOC's Total(6891052)

S ==> Sum of the memory usage by the current thread at this moment.
O ==> overhead to track the memory usage of the thread.
M ==> Max memory used by the current thread.
memdebug:1 would'nt give any info, unless the user logs out, when the user logs out there will be a file called RUN/memdebug_pid_tid.log which will report if there was any memory leak by that thread.
To obtain global process memory you need to look at VM(Virtual Memory) and RSS(Resident Set Size) values provided by the OS. 
If you are running Windows you can get the memory usage by running the command sm -reportvirtualmap:<pid> (which will give the current usage of the memory by the process.   But works only on windows and also the memory usage reported is approximate, as permission problems)
You can use processexplorer or some external tools to look at the memory.
There is no accurate way of getting 100% of the memory usage of the current process.
To get memory usage of java you can run sm -debugpackage:com.hp.ov.sm.common.server.OOM -pid:<pid>, it will turn on tracing on memory which will report the memory usage every 15 seconds.
If you have anything to add to this, please reply to this post.
“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
Labels (1)
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.