The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.