Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 1997 00:09:32 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        mike@smith.net.au (Mike Smith)
Cc:        benedict@echonyc.com, peter@grendel.IAEhv.nl, hackers@FreeBSD.ORG
Subject:   Re: Netscape Communicator 4.02b7
Message-ID:  <199709010509.AAA04960@dyson.iquest.net>
In-Reply-To: <199709010410.NAA00659@word.smith.net.au> from Mike Smith at "Sep 1, 97 01:40:18 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith said:
> > On Sun, 31 Aug 1997, Peter Korsten wrote:
> > 
> > > 'Top' shows that Netscape takes some 13 Mb Mb memory (YIKES!).
> > 
> > That's not counting the 9 MB taken up by its "DNS helper".
> 
> Communicator forks to create the DNS helper process (a great idea, 
> IMHO), so all you're seeing there is a second copy of the text; it's 
> shared with the original copy, so it's not actually using any more 
> memory.
> 
Just to follow up, note that it is difficult to judge how much memory
is being used by a process due to just what you are saying.  Something
with a fork() type inheritance can very effectively share memory.  Sharing
is also very effective when running processes from the same executable.  The
major overhead in creation of a new process (fork) with such a large address space,
are the page table pages (only a few of 'em.)

-- 
John
dyson@freebsd.org
jdyson@nc.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709010509.AAA04960>