[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linking perl statically against libperl



On Tue, Apr 21, 2015 at 02:45:25PM +0200, Vincent Lefevre wrote:
> On 2015-04-19 11:43:09 +0300, Niko Tyni wrote:
> > Cons:
> >     E increased memory usage on systems running multiple perl processes
> 
> I suppose that this concerns only the case where one has /usr/bin/perl
> processes *and* some other processes that use libperl, and at most
> this doubles the memory used by libperl. Or am I missing something?

If there are several /usr/bin/perl processes and /usr/bin/perl is
statically linked against libperl, every process has its own copy of
the libperl code in memory. In the case of dynamic linking, there's just
one copy.
-- 
Niko Tyni   ntyni@debian.org


Reply to: