[comp.sys.mac.system] SUM II and System Heap size fix?

glf@sppy00.UUCP (HILL GREGORY L.) (07/31/90)

A few weeks ago, during all the talk about having a System Heap size big 
enough to have 25% free space in it, someone posted a way to increase the 
System Heap size by using SUM II TOOLS.

I decided to give it a try.  (Running MultiFinder) I opened the About
Finder dialog and saw ... (with the [ ] as the box, the ||| as the dark, 
                           filled in part and the :: as the empty 
                           [available] part)
Finder 6.1
System 6.0.3
Total Memory 2,560K      Largest Unused Block: 1,536K
Finder:  160K  [||||||:::]
System:  864K  [||||||||||||||||||||||||:]

Hmm, says I.  Doesn't look like 25% to me.  So, I open SUM TOOLS, Edit
Volume Boot Blocks, change System Heap size[512K] from about 168000 (I think
that's what it was) to 300000 (after several attempts), Write Boot Blocks, 
Quit and ReStart.

Now I look and About Finder and see ...

Total Memory 2,560K      Largest Unused Block: 1,533K
Finder:  160K [||||||:::]
System:  867K  [|||||||||||||||||||||||||]
                                        ^
WHAT?  System usage is up only 3K, *AND* now the box is more filled in
that before!

I'll admit to being a bit novice in all this.  Since System size is
showing 867K and Heap size is set to only 200K, does that mean that the system 
is pre-allocated the 200K and the other 667K are being allocated on the fly?
(And that's why there's never any space left over ... it's getting only as
much as it needs.) If that's so, does that mean that if I want 25% more than 
the 867K that I need to change Heap size to 1 MEG?!?

I've got a standard Mac Plus and have about 10 INITS ... very standard, stable 
stuff from little things like Safe Eject to ATM and Type Align.

Any help or info greatly appreciated.

Thanks,
   Greg
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Greg Feldman-Hill  {seismo|cbosgd}!osu-cis!sppy00!glf  -OR-  gfh@rsch.oclc.org
OCLC - Online Computer Library Center ...  Dublin, Ohio      
   "If one studies too zealously, one easily loses his pants."   A. Einstein

wichers@husc7.HARVARD.EDU (John Wichers) (08/01/90)

In article <909@sppy00.UUCP> glf@sppy00.UUCP (HILL GREGORY L.) writes:
>A few weeks ago, during all the talk about having a System Heap size big 
>enough to have 25% free space in it, someone posted a way to increase the 
>System Heap size by using SUM II TOOLS.
>I decided to give it a try.
[deleted]

I also did this a few weeks back, for my 4meg SE. I'm an init junkie, and 
I was having serious problems with memory allocation. Anyway, just as you
described, I upped the number from about 128k to about 320k (stick to 32k
and 64k increments). rebooted, no change. Upped it again. no appreciable 
change. And again. And again. Well, I finally started to see some 
improvement by the time it was up to about 768k. However, it didn't add
640k to the system heap (at least not according to the About the Finder
box).

--jjw

__
Her eyes were cold and || John Wichers || wichers@husc4.harvard.edu
harsh, which made them || 121 Museum St #2, Somerville Ma. 02143
tough to chew. - Danno || Anarchy - It's not a law, it's just a good idea.
|| Jesus saves sinners ... and redeems them for valuable cash prizes!!! ||

mangler@madnix.UUCP (Brian La Rose) (08/06/90)

Well... first of all, the "Write Boot Blocks" comamnd in SUM Tools is
deceiving... it writes the DEFAULT boot blockls out to disk (If I
remember the news release... apologies if I am blatantly wrong...)

Second, there are a number of utilities out there that allow you to
alter the System Heap size.  Unfortunately, the only ones I can
remember are from CE Software... Heap Fixer and Widgets.  They both
allow you to alter your heap size.

I have a Mac Plus with 2.5 Megs.  My system occupies about 1200k of
memory for the 24 Inits taht I allow to run (I have another 12
disabled), and I am also running a  RAM Cache and a Cache for ATM.  I
have about 10% of free space in my system and it has finally stopped
hanging and crashing... 25% seems a BIT steep, don't you think?


~~~~~~~~~~~~~~~~~~~ naDev tlhinganpu' tu'lu' ~~~~~~~~~~~~~~~~~~~~
The Mangler - Brian La Rose   76366,2114 (CI$)  S0091 (AppleLink)
decwr!decvax!nicmad!madnix!mangler     Mangler1 (America On-Line)
 "...if I'm cut, I will always bleed 6 colors..."-Guy Kawasaki
~~~~~~~~~~~~~~~~~~~~~~~~~ Duj tIvoqtaH ~~~~~~~~~~~~~~~~~~~~~~~~~~
(Disclaimer: I have no connection with ARP Software... they are not
responsible for what I say... that's MY job...)