Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: No more memory available

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51165] Re: No more memory available
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 7 Oct 2004 05:25:41 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <ck0bht$ns5$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

what do you use as stack, a simple list or a folded list, i.e.,

$stack={a,b,c,d}

or

$stack={a,{b,{c,{d,{}}}}}

??

Regards
  Jens

"János" <janos.lobb at yale.edu> schrieb im Newsbeitrag 
news:ck0bht$ns5$1 at smc.vnet.net...
> Hi,
>
> In a loop I am pushing data on a stack and popping it later.  In the
> first part of the calculation I push more than I pop and it eats up all
> the physical memory, and eats also up all the virtual memory available
> for the App.
>
> No more memory available.
> Mathematica kernel has shut down.
> Try quitting other applications and then retry.
>
> It is with OSX 10.3.5 and Mathematica 5.0.1 on a G4 with 2GB SDRAM.  I
> am wondering what technics are used by others in similar situation.  Do
> you start to write out to the file system your accumulated unprocessed
> data and read it back later for further processing ?
>
> Theoretically I can re-arrange the program so after some amount of
> push, pop all which was pushed and process them before I push more, but
> that requires some rearrangement of the flow of computation and I try
> to avoid that.
>
> I also found Utilities`MemoryConserve` which I will try out.  Any other
> suggestions ?
>
> Thanks ahead,
>
> János
> ------
> "..because Annushka has already bought sunflower oil, and not only
> bought it, but spilled it too."
> Bulgakov:  Master and Margarita
> 



  • Prev by Date: Re: Thichness of Plot does not change Solved
  • Next by Date: Re: Re: notation for integration limits
  • Previous by thread: No more memory available
  • Next by thread: Re: Re: No more memory available