Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2007 15:31:04 +0100
From:      Pete French <petefrench@ticketswitch.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Static linking and memory usage
Message-ID:  <E1IKxQG-0001oe-3M@dilbert.ticketswitch.com>

next in thread | raw e-mail | index | archive | help
If I have an executable which is staticly linked with many copies
of it running (a CGI script in fact), will all those copies share
the text segment of the executable on the disc, or will it actually
use up real memory resource with many copies of the executable ? I
have been assuming the former, but possibly that is not correct.

cheers,

-pcf.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1IKxQG-0001oe-3M>