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


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

Re: Kernel exits

From Roland Franzius <roland.franzius@uos.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Kernel exits
Date 2012-09-15 07:44 +0000
Message-ID <k31blk$mnr$1@smc.vnet.net> (permalink)
References <k2s2re$dq5$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Am 13.09.2012 09:43, schrieb davidgolber:
> Running Mathematica 4 on a new PC (lots of memory)under Windows 7 Professional and XP Virtual Machine.
>
> When doing long calculations, the kernal exits with no error messages of any kind, after about two hours.  The front end is there, but the kernel is gone.  (So if I type a command into the front end, it is as though the notebook has just been loaded and this is the first command given.)
>
> The calculation is a lot of FindMinimum, with some error messages ("zero gradient" and "did not converge") which are suppressed as usual after four appearances.  I wonder if the error process uses stack which is then not released correctly.
>
> Any suggestions?

Start Windows Task Manager (Ctrl+Alt+Del) and look at the memory. The 
kernel shuts down at 2 GB. Of course, looking at the graph for two hours 
is a bit tedious.

Alternatives:

Include a (....  ;  Print[n, ": ", MemoryInUse[]] ;  ...) somewhere in 
an outer loop.

Write the memory values togehter with valuue of characteristic variables 
into a text file using
(OpenWrite ... StreamWrite .. Close  ;)

or a Run[ "cmd", ... ]   statement. Information about the command shell 
is aquired by starting a cmd box in the start menu and typing "help cmd"

Break up your search problem into serial hunting pieces, write the end 
values of an episode into a file, Quit[] the kernel and resume the 
hunting with the results of the last day as starting values.

That's the way the brain is working discarding all the memory garbage of 
the last day....


-- 

Roland Franzius

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