[KLUG Programming] Shared libraries & memory usage.
Robert G. Brown
programming@kalamazoolinux.org
Mon, 14 Jul 2003 18:51:09 -0400
On 14 Jul 2003 13:01:45 -0400, Bruce Smith <bruce@armintl.com> wrote:
>When a program requires/uses a shared library, is the entire shared
>library loaded into memory, or just the parts the program needs?
Overwhelmingly often, and on most all dynamic loaders, the whole lib is
loaded. There are lots of good reasons for this; if you care I can explain.
I'd suggest a careful read of your loaders documentation to see if there's
some parameter that might permit object-wise loading...
Regards,
---> RGB <---