[Prev][Next][Index][Thread]

Re: Lots of memory used???



>>>>> "Tim" == Tim Holmes <holmes@gorilla.nbn.com> writes:
In article <Dtozz8.JF0@gorilla.nbn.com> holmes@gorilla.nbn.com (Tim Holmes) writes:


    Tim> I have a Pentium w/ 32 meg ram, and I have been running out
    Tim> of memory (into swap anyway) using Executor running Excel.  I
    Tim> did the following experiment by doing the "free" command at
    Tim> different stages.  I think that the memory usage may be
    Tim> somewhat cumulative, that is, the longer I work, the more I
    Tim> use up, but that part I'm not sure of.  It took over 10 megs
    Tim> of ram to open up three large spreadsheets.  Is this expected
    Tim> behavior?  (Caldera/Linux 1.2.13)

Your machine didn't start out with much free memory, and Executor has
to have enough memory for itself (about 3Mb), the offscreen bitmap,
the applzone and scratch space for dynamic recompiling.

The Mac memory manager uses round robin to allocate memory and so even
if you're not using all the memory (4 MB applzone), it *appears* that
you are, at least from Linux's VM subsystem's point of view.

Or at least that's my guess as to what's happening.

You might want to try using "-memory 4m" instead of "-applzone 4m"
since the former will allocate 4 Mb for applzone, syszone and stack
total, while the latter will use 4m for applzone and then use defaults
for the other two.

Linux 2.0 does better with paging, too.

    Tim> Thanks,

    Tim> Tim Holmes holmes@gorilla.nbn.com

--Cliff
ctm@ardi.com


References: