MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Will adding RAM help "No more memory available" error?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89713] Re: Will adding RAM help "No more memory available" error?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 18 Jun 2008 06:42:00 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <g3agpd$pka$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

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 (approximately
> 600x200) and runs a monte carlo simulation on that data. For large numbers
> 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 not
> 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?
> 


  • Prev by Date: Combining pure functions to produce a new pure function
  • Next by Date: Re: snippets
  • Previous by thread: Re: Will adding RAM help "No more memory available" error?
  • Next by thread: Re: Will adding RAM help "No more memory available" error?