Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

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: [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: <g3agpd$pka$1@smc.vnet.net> <g3aope$6m$1@smc.vnet.net>

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?


  • Prev by Date: Re: easy plane normal vector question
  • Next by Date: Re: How to get plain text from a notebook?
  • 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?