Re: How to get the total heap size of the process
- From: Michel Bardiaux <michel.bardiaux@xxxxxxxxxxx>
- Date: Thu, 08 Jun 2006 15:00:39 +0200
ganesh.kundapur@xxxxxxxxx wrote:
Hi all,You can get the total size of all rw segments by reading /proc/self/maps; unfortunately you cant make the difference between stack, data, bss, and heap (at least, not easily).
Is there any way to get the total heap size of the process in c on
linux platform?
--
Ganesh
Cheers,
--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux@xxxxxxxxxxx
Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
.
- References:
- How to get the total heap size of the process
- From: ganesh.kundapur@xxxxxxxxx
- How to get the total heap size of the process
- Prev by Date: Re: linux file system research direction?
- Next by Date: mmap in kernel module
- Previous by thread: How to get the total heap size of the process
- Next by thread: Re: How to get the total heap size of the process
- Index(es):
Relevant Pages
|