[SunHELP] Memory usage reporting (mallinfo like capability) o n Solaris

Vikas Gandhi VGandhi at quark.co.in
Mon Oct 13 08:23:17 CDT 2003


Hi Rajdeep
  We use purify(Rational Purify) for memory tests. It is damm good and gives
excellent result and does good profiling. As far as I remember, we never
changed any mallocs.

Regards
Vikas

-----Original Message-----
From: rajdeep [mailto:rajdeep at noida.atrenta.com]
Sent: Monday, October 13, 2003 7:03 PM
To: sunhelp at sunhelp.org
Subject: [SunHELP] Memory usage reporting (mallinfo like capability) on
Solaris


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

-- 
Thanks,

-Rajdeep
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list