Re: Will adding RAM help "No more memory available" error?
- To: mathgroup at smc.vnet.net
- Subject: [mg89754] Re: Will adding RAM help "No more memory available" error?
- From: Mark Westwood <markc.westwood at gmail.com>
- Date: Thu, 19 Jun 2008 06:28:42 -0400 (EDT)
- References: <firstname.lastname@example.org>
Hi Erin Don't forget that 32-bit versions of Windows (I guess you're running on Windows since you are importing data from Excel ?) limits the user process address space to 2GB. My advice would be: a) Figure out the memory usage of your program, actual and planned. b) Determine whether or not more RAM will actually solve the problem. c) If it will, get the extra RAM. If it won't don't ! (I'll only whisper the next bit, it's heretical -- but it's almost always cheaper and less error-prone to buy more RAM than to rewrite a working program; trouble is it's not always a successful strategy.) Regards Mark On Jun 18, 9:25 am, "Erin Noel" <eno... at gmail.com> 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?