This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Determining the memory used by a dynamically loaded shared object
- From: Marcus Clyne <maccaday at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Mon, 10 Aug 2009 20:13:30 +0300
- Subject: Determining the memory used by a dynamically loaded shared object
Hi,
Is there any way to determine the actual memory used by a dynamically
loaded (i.e. by dlopen...) shared object. AFAIK this is less than the
size of the .so file on disk, but I'm not sure how to calculate it.
Can anyone help?
Thanks,
Marcus.