[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: memory usage and Netscape



Ed Cogburn wrote:
> 
> Mark Panzer wrote:
> >
> > Ed Cogburn wrote:
> > >
> > > Nelson Posse Lago wrote:
> > > >
> > > > On Tue, 23 Jun 1998, Mark Panzer wrote:
> > > >
> > > > > While running netscape ver 4.05 I commonly run out of memory after two
> > > > > hours.  I have 32Mbytes of RAM and a 50Mbyte swap.
> > > >
> > > > Netscape for linux leaks memory like hell; you may want to install
> > > > netscape using the debian installer package, it preloads (or used to,
> > > > don't know if this is the case still) some libraries tha alleviate (but
> > > > don't solve) the problem. There's not much more you can do about it. I
> > > > *think* what really kills memory fast are animated gifs, since it
> > > > actually "reloads" the gif indefinetely, so "ESC" should help also.
> > > >
> > > > See ya,
> > > > Nelson
> > > > lago@that.com.br
> > > > That's Internet!
> > > >
> > > > "The future? I've seen the future: It's a 46 years old
> > > > virgin singing 'I am a hotdog'" - From "Demolition Man"
> > > >
> > >
> > >         How can this be?  If NS ran out of memory after two hours of use it would
> > > affect everybody.  Yet this is the first post concerning the problem, and in
> > > all the time I've used NS on linux its only happened once (I was doing a lot
> > > of stuff in the background at the time).  It may be related to the version
> > > (professional/standalone) or maybe something else thats running at the same
> > > time.
> > The thing is the only way I seem to have enough free memory to run
> > Netscape is to be the only person log-in an account and the only
> > programs running are shown in myproc.txt which is attached.  Right now I
> > have 12MBytes of RAM free and am not using the swap but wait maybe 20
> > min. even if I don't do anything and it'll already be using about 20Meg
> > of my swap.  That seems weird because I have my memory cache down to
> > 100Kbytes and disk cache to 1Meg.
> >
> > Mark Panzer
> >
> 
>         That does sound weird.  I have 32M ram + 70M swap, running 2.0.34 kernel,
> using glibc version of NS v4.05 professional.  After logging in to X, I then
> logged in to 2 other consoles and ran dselect and mc in them.  Its hard to
> tell what's going on by the output of top, but at the beginning of this
> session, top showed all mem in use but no swap.  After about an hour and a
> half, including mail and browser activity, it has released ~1M of RAM but is
> using ~8M of swap.  As soon as I end the apps in the consoles I get ~5M of
> ram back (free), for a max change of 2 to 8 meg of used memory.  That isn't
> much of a change, and seems reasonable given what I was doing.  I have
> certainly never seen the kind of effects you are seeing (like using 20M of


I'm about ready to use a big profanity because I had a really nice
message worked up to reply but then netscape mail used up all my memory
and quit blowing away about 25 min of typing a message.  Anyway attached
are the results from ps and free at about 5 min before it wiped out all
my communicator apps I had open (dumping all the text I had typed
!!!!).  Someone asked if I had used the debian package to install it,
yes I did.  Maybe this problem could be attributed to my kernel?  Maybe
it doesn't do memory management correctly?  I also noticed that right
after I went to a page which used java and the java vm started that my
memory (now swap) usage went up by 5 meg!  Is there someone else that
may know more about this?  It is starting to get really annoying when I
have to have a xterm open all the time and every 5 min check the amount
of free space to see if I have to close netscape and open it again to
stop this memory growth problem.  Is there anything that you know of
that I can try (there's seems to be some weird bug here).  Maybe when
netscape gets compiled for libc6 I won't have to load the old v5 libs
and it'll save memory??? 

Mark Panzer

mark.panzer@excel.net
             total       used       free     shared    buffers     cached
Mem:         30260      29816        444       9212        116       7440
-/+ buffers/cache:      22260       8000
Swap:        48188      20484      27704
  PID TTY STAT TIME COMMAND
  157   1 S    0:00 (bash)
  163   1 S    0:00 (xinit)
  171   1 S    0:02 /usr/X11R6/bin/fvwm2 
  181   1 S    0:00 /usr/X11R6/lib/X11/fvwm2/FvwmPager 8 5 /usr/X11R6/lib/X11/fv
  183  p0 S    0:00 -bash 
  193   1 S    2:59 /usr/lib/netscape/netscape mailbox: 
  205   1 S    0:00 (netscape)
  363  p0 R    0:00 ps 

Reply to: