Static linking and memory usage

Pete French
Tue, 14 Aug 2007 14:31:10 -0000

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.