Re: Will adding RAM help "No more memory available" error?
- To: mathgroup at smc.vnet.net
- Subject: [mg89727] Re: Will adding RAM help "No more memory available" error?
- From: michael.p.croucher at googlemail.com
- Date: Thu, 19 Jun 2008 05:42:28 -0400 (EDT)
- References: <firstname.lastname@example.org> <email@example.com>
Hi Erin, How much memory does your machine have? I have access to machines with up to 16Gb of RAM and, providing the runtime is not going to be too long, I am happy to run your code once or twice to see if adding more RAM will help you. Cheers, Mike On 18 Jun, 11:41, Jens-Peer Kuska <ku... at informatik.uni-leipzig.de> wrote: > Hi, > > a) adding RAM is always a good idea. > b) set > $HistoryLength=0; and call Share in you loop (after 20-100 iterations= ) > use the Hold attribute for functions huge data parameters. > > Regards > Jens > > Erin Noel wrote: > > I have a rather large program the imports data from excel (approximatel= y > > 600x200) and runs a monte carlo simulation on that data. For large numb= ers > > of iterations, roughly about 5000, Mathematica runs out of memory and > > returns the following error: > > > No more memory available. > > Mathematica kernel has shut down. > > Try quitting other applications and then retry. > > > My question doesn't relate specifically to my code, which is why I am n= ot > > including any details of it. Generally speaking, will adding RAM to the > > system help prevent this error? Are there any other general methods for > > decreasing the likelihood of this error that aren't code-specific?