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


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

Re: Kernel exits (for lack of memory)

From Joseph Gwinn <joegwinn@comcast.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Kernel exits (for lack of memory)
Date 2012-09-21 08:19 +0000
Message-ID <k3h7vf$oku$1@smc.vnet.net> (permalink)
References <k2s2re$dq5$1@smc.vnet.net> <k368j5$1ud$1@smc.vnet.net> <k398vo$9p0$1@smc.vnet.net> <k3c1e1$evh$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


In article <k3c1e1$evh$1@smc.vnet.net>, dgolber@aol.com wrote:

> On Tuesday, September 18, 2012 3:49:26 AM UTC-4, Joseph Gwinn wrote:
> The Out[] variables are storing all results, just in case you ask for them. 
> Set $HistoryLength to zero to turn this off. One can also Clear[] 
> intermediate variables to reduce memory footprint. Joe Gwinn
> 
> ======
> 
> The example I am posting next sets $HistoryLength=0 and still shows this 
> behavior.

OK.  Will look.


> What variables am I supposed to Clear[]????  It isn't Out, because 
> $HistoryLength is zero.  I suspect it is internal variables of FindMinimum 

I doubt that FindMinimum is keeping anything hidden between calls, but 
one can tell by sprinkling MemoryInUse[] calls through the notebook, to 
tell where the weight is gained.


> In any case, the MemoryInUse is not building up after many calls, so this 
> seems unlikley to be the cause of the kernel exit.

When the kernel exits, what does it say?

Also, what is written to the system log?

Joe Gwinn

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


Thread

Kernel exits davidgolber <hmsnively@aol.com> - 2012-09-13 07:43 +0000
  Re: Kernel exits David Bailey <dave@removedbailey.co.uk> - 2012-09-14 04:19 +0000
  Re: Kernel exits Roland Franzius <roland.franzius@uos.de> - 2012-09-15 07:44 +0000
  Re: Kernel exits dgolber@aol.com - 2012-09-17 04:23 +0000
    Re: Kernel exits (for lack of memory) Joseph Gwinn <joegwinn@comcast.net> - 2012-09-18 07:48 +0000
      Re: Kernel exits (for lack of memory) dgolber@aol.com - 2012-09-19 08:57 +0000
        Re: Kernel exits (for lack of memory) Joseph Gwinn <joegwinn@comcast.net> - 2012-09-21 08:19 +0000
  Re: Kernel exits dgolber@aol.com - 2012-10-06 08:16 +0000

csiph-web