From owner-freebsd-questions Mon Apr 29 00:04:27 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA26601 for questions-outgoing; Mon, 29 Apr 1996 00:04:27 -0700 (PDT) Received: from riley-net170-164.uoregon.edu (riley-net170-164.uoregon.edu [128.223.170.164]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA26594 for ; Mon, 29 Apr 1996 00:04:24 -0700 (PDT) Received: (from dwhite@localhost) by riley-net170-164.uoregon.edu (8.6.12/8.6.12) id AAA14030; Mon, 29 Apr 1996 00:07:43 -0700 Date: Mon, 29 Apr 1996 00:07:42 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Sean Batson cc: questions@freebsd.org Subject: Re: Netscape 3.0 Javascripts In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 27 Apr 1996, Sean Batson wrote: > Under observation, Netscape's Java interface eats up VM space > after downloading a web page and leaving it idle; you can just > see the VM space(swap) decrease and decrease unitl the entire > system crashes and I mean crash. (A WEB PAGE WITH A JAVA SCRIPT > SCROLLING DATA ON THE STATUS LINE). That is not good. :( I've hated that stupid scroller down there. Now I have some ammunition as to why NOT to use it: it crashes UNIX boxes. (I have an excuse to turn off Java, now one to turn off JavaScript!) There has been some discussion that Netscape may use a buggy version of malloc() that has a memory leak. It's statically linked from the BSD/OS libs, which may contain the error. > Shouldn't there be some sort of crash recovery machanism in XFREE > to clean up and then RELOAD in these kind of instances? No, not really. It suffers from the same bug. :( To semi-quote: GOOD SOLUTION: relink Xfree with the -lgnumalloc flag. (think that's right). BAD (but easier) SOLUTION: exit and restart the X server every so often. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major