Xref: utzoo comp.windows.x:32584 comp.unix.sysv386:4774 Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.windows.x,comp.unix.sysv386 Subject: Re: Shared lib versions of X11, Xt, Xmu, etc? Message-ID: <1991Feb08.134714.24319@virtech.uucp> Date: 8 Feb 91 13:47:14 GMT References: <401@uucs1.UUCP> Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Organization: Virtual Technologies Inc., Sterling VA Lines: 20 In article <401@uucs1.UUCP> gaf@uucs1.UUCP () writes: >When you're running several copies of a program which is over 1 Mb in memory, >you start wishing for the promised land of shared libraries. If it's several copies of the same program, shared libraries won't save you anything because the programs shar text anyway (i.e. if you have 10 vi's running and vi has a size of 125k text, 136k data the total memory resources will be approximately 125k + 10*136k. This is the same even if vi is compiled with shared libraries). The place where shared libraries save you is when you have multiple programs that use the same libraries, since different programs do not share text (unless, of course, you set up the programs as links to each other and used argv[0] to differentiate between the two - like mv/cp/ln). -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc. uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170