Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'No more memory available.' topicStudent Support Forum > General > Archives > "No more memory available."

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Forum Moderator
email me
04/13/12 11:36am

Standard suggestions:

To reduce memory use in the kernel:

* Use a setting such as $HistoryLength=1 to limit the number of
input and output lines stored. (Usually the kernel saves all inputs and
results, in case they are wanted again later. If you keep
the intermediate results you want to save in variables, you don't
need to store the In[] and Out[] data.)

* Use Remove [vars] to remove unneeded variables.

* Use the command Share[] periodically.


You can try smaller versions of your code and see how MaxMemoryUsed[] grows with the size of the problem.

If your code is plain text, please feel free to include it in a Comment post. Plain or simple, a notebook (.nb) file with it can be attached. That would help diagnosis a lot.
- FM


URL: http://reference.wolfram.com/mathematica/tutorial/MemoryManagement.html,

Subject (listing for 'No more memory available.')
Author Date Posted
No more memory available. Anthony 04/12/12 4:37pm
Re: No more memory available. Forum Modera... 04/13/12 11:36am
Re: Re: No more memory available. Anthony 04/13/12 1:26pm
Re: Re: Re: No more memory available. Peter Pein 04/17/12 04:32am
Re: Re: Re: Re: No more memory available. Anthony 04/17/12 3:47pm
Re: Re: Re: Re: No more memory available. Anthony 04/24/12 09:32am
Re: No more memory available. Forum Modera... 04/22/12 5:49pm
Re: No more memory available. Anthony 04/24/12 08:06am
Re: Re: No more memory available. Bill Simpson 04/25/12 11:22am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic