🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #34707

Re: Spy! 1.0b4

#34707
From: Nathan Wilson
Date: Tue, 22 Nov 1988 18:29
19 lines
1579 bytes
Ok now I have spy so I can see how bad my program is being.  In
particular it tells me when I start up that I only have 10k of
application heap.  As soon as I start doing stuff this drops to 6k and
then bounces along from there.  It usually gets down to about 1.5k and
then goes back up 2-3k.  Is this just heap compaction doing its job or
is the heap getting bigger?  The reason I ask is that when I run some
applications (MPW, MacPaint) they have huge heaps like 300-500k.  When
I run SuperPaint with the standard Multifinder memory partition it has
only 26k of heap, but when I increase the memory partition all the new
memory goes straight to the heap.  My poor application, on the other
hand, just sticks with its 10k of heap no matter what.  Is this ok or
should I be doing something clever at startup time?  (At this point I
am doing almost nothing about memory management except trying to
allocate pointers early.)  I've read the memory manager in vol 2 of IM
but I can't figure out how to change the size of the application heap.
	Thanks in advance,
		Nathan Wilson
		Teleos Research
		nathan@teleos.com
Technical Details
Message-ID: <6527@csli.STANFORD.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!decwrl!labrea!csli!wilson
References: <15244@iuvax.cs.indiana.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!decwrl!labrea!csli!wilson
From: wilson@csli.STANFORD.EDU (Nathan Wilson)
Newsgroups: comp.sys.mac,comp.sys.mac.programmer
Subject: Re: Spy! 1.0b4
Message-ID: <6527@csli.STANFORD.EDU>
Date: 22 Nov 88 18:29:39 GMT
References: <15244@iuvax.cs.indiana.edu>
Reply-To: wilson@csli.UUCP (Nathan Wilson)
Organization: Center for the Study of Language and Information, Stanford U.
Lines: 18