Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: memory use
Replies: 2   Last Post: Sep 20, 1996 12:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Russell Towle

Posts: 70
Registered: 12/3/04
memory use
Posted: Sep 13, 1996 1:17 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Using MMA 2.2 on a PowerMac with 32MB RAM allocated to the kernel, I am
assembling large arrays of integers which I pass to ListPlot3D. For
example, a list of dimensions {490, 1091}. Simply to assemble this list
uses so much memory that I cannot pass it to ListPlot3D in the same
session; so I thought that writing it to a file might be a good device.

I use the syntax, (biglist >> "filename"), but to my surprise, the kernel
requires tons of memory to execute this, even though the list "biglist" is
already evaluated, and every element in it already resides in memory.

By allocating 40 MB of memory to the kernel, I was able to write the list
to a file. The file size itself was only 3MB. Why does MMA need 16 or
20MB to write a 3MB file?

Russell Towle
Giant Gap Press
P.O. Box 141
Dutch Flat, California 95714
------------------------------
Voice: (916) 389-2872
e-mail: rustybel@foothill.net
------------------------------









Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.