Date: Fri, 03 Nov 1995 08:36:15 -0500 From: Paul Fox <pgf@foxharp.boston.ma.us> To: freebsd-questions@FreeBSD.org Subject: Re: what's counted in RSS and VSZ? Message-ID: <199511031336.IAA09256@gutso.foxharp.boston.ma.us> In-Reply-To: davidg's message of Thu, 02 Nov 1995 19:31:51 -0800. <199511030331.TAA02964@corbin.Root.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
> > - how can RSS ever be bigger than VSZ? > > Except for the program binary itself, the VSZ doesn't include mapped files. > Shared libraries are mapped files. I thought about "fixing" this, but it is > very complicated and probably has too much associated overhead. I may still > try to fix it for a future release of FreeBSD. > > > - why are the VSZ numbers for the two different builds different? > > In the shared case, the VSZ doesn't include the code in the shared > libraries. In the non-shared case it does. > thanks for the replies. the reason i asked is that i'm trying to guesstimate the future memory footprint (text+data+bss+heap) for an app that will not be running under freebsd at all (when i'm finished porting it), but which does run there now. assuming similar compiler, similar library size, i guess the number i should be using is the non-shared VSZ number... thanks. paul --------------------- paul fox, pgf@foxharp.boston.ma.us (arlington, ma)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511031336.IAA09256>