🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #309

Re: NeXTmille and swapping

#309
From: Don Yacktman
Date: Wed, 29 Jul 1992 14:43
38 lines
2356 bytes
In article <1992Jul29.124549.8044@ms.uky.edu>, soward@slow.inslab.uky.edu (John Soward) writes:
>Shawn Willden writes
>-> Hi all, 
>-> 
>-> 
>-> 	1)	MallocDebug was wrong and I was missing something that
>-> 		a little more work with the code could uncover.
>-> 	2)	Something was wrong with Mach's swapping algorithm.
>-> 	3)	I was REALLY missing some vital information and if it
>-> 		was in the on-line manuals I couldn't find it.
>
>Easy thing to do is use "ps" from terminal and *see* what processes seem to  
>have a large chunck of memory allocated to them...I haven't looked at the code  
>at all, but my guess would be that the WindowServer will be the culprit. And  
>that it arises from many Views/Windows/etc that are being allocated and perhaps  
>not freed/re-used.
>
>Good luck, 
>--
>    ________________________________________________________________________
>   /   'The midnight sun will burn you up" -The Cure, Piggy in the Mirror  /
>  /      soward@ms.uky.edu | soward@slow.inslab.uky.edu (NeXT Mail)       /
> /_______________________________________________________________________/

Yes, it _is_ the window server.  Run it with -NXShowAllWindows.  Every time
you drag a card, etc, an offscreen buffer for the card is created, and the
card is drawn in it, but the buffer is never freed.  Thus, the window server
grows and grows and grows. :(  I haven't had time to fix this problem myself,
but I know that that is the problem.  If anyone _does_ fix it, let me know
before you post it to sonata, because I _have_ made a colorized version, and
would like to include the color support in the fixed version.  If you wait
long enough, I'll fix it myself anyway. :)  (The colorized version required
new .tiffs and a change to the pswrap that draws the stoplights; simple
changes, really.)

Later,
-Don Yacktman
Technical Details
Message-ID: <4u@byu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!wupost!usc!sol.ctr.columbia.edu!eff!news.byu.edu!news
References: <1992Jul28.214418.25972@fcom.cc.utah.edu> <1992Jul29.124549.8044@ms.uky.edu>

Show Full Headers
Complete Article Headers
Nntp-Posting-Host: alaska.et.byu.edu
Lines: 38
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!wupost!usc!sol.ctr.columbia.edu!eff!news.byu.edu!news
Message-ID: <4u@byu.edu>
Date: Wed, 29 Jul 92 08:43:12 MDT
From: yackd@alaska.et.byu.edu (Don Yacktman)
Newsgroups: comp.sys.next.programmer
Distribution: world
References: <1992Jul28.214418.25972@fcom.cc.utah.edu> <1992Jul29.124549.8044@ms.uky.edu>
Organization: Brigham Young University, Provo UT USA
Subject: Re: NeXTmille and swapping