Re: NTLK Heap vs. Storage

From: Laurent Daudelin (laurent_daudelin@fanniemae.com)
Date: Tue Apr 04 2000 - 13:23:04 EDT


Michael Strange wrote:

> Hi,
> I am not sure of this...is this correct?
>
> From: Laurent Daudelin <laurent_daudelin@fanniemae.com>
> > This is all off memory, so I could be wrong. On a MP2100, there is 8MB
> > ROM and 8MB DRAM. Of this 8MB of DRAM, half
> > goes for storage, and half is considered as heap. Of the half considered
> > heap, the system grabs most of it, so
> > that when you reset a MP2100 with only the
> > bundled application loading, you end up with a little bit more than
> > 400K. Same thing happens on a MP2000, except
> > the numbers are smaller, since the MP2000 has only 4MB DRAM.
>
> I have pulled my cards, and done a reset without activating...here is what I
> get on my UMP2k
>
> Heap: Free: 155k System: 845k for a total of 1000k
> Storage: Available: 3523k, So I guess that the system uses 477k for a total
> of 4000k
>
> Now, granted I can only guess that is correct... but I get about 159188 on
> the heap meter with AVI, so I divided by 1024 to get the 155k number, and
> subtracted from 1000 for the amount used by the system.
>
> So, If the sytem only uses 845k of heap, why would that be smaller with the
> upgrade? I would expect it to jump up to 3155 free. Is that not true?
> Does the system really grab all it can?
>
> I would check the same on my 120 and 130, but have to wait until I get home.

Michael,

Where are you getting those numbers? Do I understand that when you say you
removed your cards, that you didn't install *ANY* package on the internal store?
Total System RAM is usually 3984K on a MP2100, which usually leave about 400K
free heap. I don't know what is the formula to determine how much is kept by the
system and how much is provided to the applications running. But, depending on
the internal memory you have, the numbers will vary. It's not a fixed number,
but a number generated by some formula. The only way to find how much free heap
you have is by using some third party tool. There are a lot of them that can
provide that.

Assuming you're looking at the numbers from Extras->Memory Info, the "used" and
"free" values are for storage space only. The only information relating to heap
that you have there is the amount of RAM the system has, which is usually 3984K
for a MP2100 or an upgraded MP2000. Again, of this, only a small fraction is
given to the running applications (around 400K).

-Laurent.
=====================================================================
Laurent Daudelin
Developer, Adaptive Infrastructure, CIS Fannie Mae
Phone: 703-833-4266 mailto:Laurent_Daudelin@fanniemae.com
           ********** Usual disclaimers apply **********

******************************************
This NewtonTalk Message brought to you by:

EVOTE.COM, the ESPN of Politics on the
Internet. Visit EVOTE.COM for all the latest
news on Campaign 2000!

Visit http://www.evote.com today!

******************************************

Need Subscribe/Unsubscribe Info?
visit http://www.planetnewton.com

******************************************



This archive was generated by hypermail 2b29 : Wed May 03 2000 - 09:41:18 EDT