Memory usage reporting (mallinfo like capability) on Solaris

From: rajdeep (rajdeep@noida.atrenta.com)
Date: Mon Oct 13 2003 - 09:33:55 EDT


Hi Team,

In our software application, we want to report the memory used
up by our application in different stages. For Linux and Hp systems,
we are using the standard mallinfo() function provided by them, but
Solaris OS does not seem to provide a mallinfo() function with its
standard malloc(3C).
  Though Solaris OS does provide a mallinfo() function with malloc(3X),
but that would enforce us to use the malloc(3X), whose run-time
performance
is much poorer than the standard malloc(3C). Just as a trial, we tried
using
malloc(3X), and found that it caused our application run-time to go up
by more than 5 times, which was totally unacceptable for us.
So, we would prefer to have the mallinfo functionality available with
the standard malloc(3C) function shipped with Solaris.
We require this capability on 32-bit as well as 64-bit Solaris OS.
Could you please help us out in to resolve this issue.

Thanks

-- 
-Rajdeep
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:16 EDT