Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10362

Re: Memory Blowup Issues

From David Bailey <dave@removedbailey.co.uk>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Memory Blowup Issues
Date 2012-06-06 08:50 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jqn5jr$hdi$1@smc.vnet.net> (permalink)
References <201206010918.FAA11834@smc.vnet.net> <jqf98n$a65$1@smc.vnet.net>

Show all headers | View raw


On 03/06/2012 10:03, Ralph Dratman wrote:
> Kevin,
>
> Thank you for passing along those tips. I usually put $HistoryLength=1
> and also turn off "Enable Notebook History Tracking" in the
> Preferences dialog -- though I'm not sure the latter makes any
> difference.
>
> I just want to re-emphasize how egregious I think the situation with
> crashing really is. It is unacceptable. I hope everyone is making that
> absolutely clear to WRI. How can we continue to recommend a program
> which often crashes? It defies common sense.
>


To be fair to WRI, I think the problem is that you have a very complex 
piece of software that is partly programmed by users. The kernel does 
put out a message if it runs out of memory, so it does detect the 
problem (at least under Windows!), but leaving the software in a well 
defined and useful state is another matter. The FrontEnd should remain 
running.

It is also possible to run calculations using MemoryConstrained.

Assuming the data you are reading in  is an array or real numbers (or of 
integers), you should check if Import returns a packed array, and pack 
it if necessary - this will save a lot of space.

David Bailey
http://www.dbaileyconsultancy.co.uk

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Memory Blowup Issues Ralph Dratman <ralph.dratman@gmail.com> - 2012-06-03 09:03 +0000
  Re: Memory Blowup Issues Szabolcs Horvát <szhorvat@gmail.com> - 2012-06-05 08:51 +0000
  Re: Memory Blowup Issues David Bailey <dave@removedbailey.co.uk> - 2012-06-06 08:50 +0000
  Re: Memory Blowup Issues W Craig Carter <ccarter@mit.edu> - 2012-06-07 09:19 +0000

csiph-web