[comp.sys.mac] virgin System uses > 1 Meg of RAM ???!!!

ted@hpwrce.HP.COM ( Ted Johnson) (01/14/90)

Should the "System" file in System 6 (i.e., System 6.0.3, Finder 6.1)
occupy 1 Meg of RAM???

I just upgraded my Mac SE from 1 --> 2.5 Megs, and booted off a virgin
sealed copy of System 6 and was appalled to see that the System file
took up 1,213k (the Finder took up 160k).  Is this a typical number? 


I never bothered with MultiFinder w/ a 1 meg Mac, because I didn't think
I had enough memory.  But it looks like 2.5 Meg isn't enough either.

I was under the impression (e.g., see the "Exploring MultiFinder Mysteries",
MacTech Quarterly, Spring '89) that the System only took up 200-300k, and
the Finder only took up 150k or so.

Has the System grown 4x since this article (about System 5) was written?

Please, someone tell me I have a bad copy of the System!!!

-Ted

ted@hpwrce.HP.COM ( Ted Johnson) (01/14/90)

I just tried booting System/Finder 4.1/5.5 (which ran fine when my Mac
had only 1 Meg).  Now I find that approx 1300k are being used just by
the System & Finder (sez a DA which displays memory usage)!  It used
to only use 300k or so!



Does the System base its memory usage on the amount of RAM present?
I.e., does it trade off memory usage for speed?  ("Hey, this machine
has 2.5 Meg.  I'll use up 4x as much memory as I would use on a 1 Meg machine,
so I can run a bit faster.")

Things are looking pretty grim.  THINK C 3.0 (the main reason for 
going to 2.5 Meg) just quit with an "Out of memory" error when
compiling the "Hello, world" example!  :-(

Any and all clues greatly appreciated!

-Ted  "Out of the frying pan and into the fire"

6600pete@hub.UUCP (Pete Gontier) (01/15/90)

From article <7380034@hpwrce.HP.COM>, by ted@hpwrce.HP.COM ( Ted Johnson):
> I just upgraded my Mac SE from 1 --> 2.5 Megs, and booted off a virgin
> sealed copy of System 6 and was appalled to see that the System file
> took up 1,213k (the Finder took up 160k).  Is this a typical number? 
> I was under the impression (e.g., see the "Exploring MultiFinder Mysteries",
> MacTech Quarterly, Spring '89) that the System only took up 200-300k, and
> the Finder only took up 150k or so.

Sounds like you have a 1024K RAM Cache. Yep, the System Heap is where it goes.

------------------------------------------------------------------------------
Pete Gontier   | InterNet: 6600pete@ucsbuxa.ucsb.edu, BitNet: 6600pete@ucsbuxa
Editor, Macker | Online Macintosh Programming Journal; mail for subscription
Hire this kid  | Mac, DOS, C, Pascal, asm, excellent communication skills

ted@hpwrce.HP.COM ( Ted Johnson) (01/15/90)

Turns out the problem was that the Ram Cache was set to
1024k  :-}  Sorry for the wasted bandwidth....

-Ted

lsr@Apple.COM (Larry Rosenstein) (01/16/90)

In article <3582@hub.UUCP> 6600pete@hub.UUCP (Pete Gontier) writes:
> Sounds like you have a 1024K RAM Cache. Yep, the System Heap is where it 
goes.

I don't think the amount of memory listed under "System" indicates the 
size of the System Heap.  I think that number in the total of the memory 
that isn't otherwise accounted for.  (For example, any INIT that uses 
memory above BufPtr will contribute to the System total.)

The RAM cache is proably the #1 cause of unexpected memory usage.  One 
should also check to see if a debugger is installed.  Macsbug, for 
example, takes a fari amount of memory (50-60K I think), which can make 
the difference in some cases.

Larry Rosenstein, Apple Computer, Inc.
Object Specialist

Internet: lsr@Apple.com   UUCP: {nsc, sun}!apple!lsr
AppleLink: Rosenstein1