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 ]
Paul A. Rubin

Posts: 397
Registered: 12/7/04
Re: memory use
Posted: Sep 20, 1996 12:51 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

In article <51c4vv$>, (Russell Towle) wrote:
->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"
->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
Are the integers literally integers, or expressions that reduce to
integers? (Although I'm not sure how much of a difference that makes.)

More to the point, have you tried using Share[] to reduce the memory

-- Paul


* Paul A. Rubin Phone: (517) 432-3509 *
* Department of Management Fax: (517) 432-1111 *
* Eli Broad Graduate School of Management Net: RUBIN@MSU.EDU *
* Michigan State University *
* East Lansing, MI 48824-1122 (USA) *
Mathematicians are like Frenchmen: whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different. J. W. v. GOETHE

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.