MathGroup Archive 2005

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

Search the Archive

Re: How to free memory?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59793] Re: How to free memory?
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Sun, 21 Aug 2005 03:51:45 -0400 (EDT)
  • References: <de46jr$r62$1@smc.vnet.net> <de6m36$chm$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

OK, Permit me to extract my foot from my mouth!

Of course, Out holds the various outputs even if they were terminated by 
a semicolon - so the 'memory leak' is totally explained. A loop such as

k = 0; While[True,  k++;  s = Table[i, {i, 1, 10^7}];  Print["Iteration 
", k]  ]

leaks no memory.

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


  • Prev by Date: ever gotten SVG Export to work?
  • Next by Date: Re: Re: [long] Mathematica 5.1 and memory: any garbage collection?
  • Previous by thread: Re: How to free memory?
  • Next by thread: Re: Re: How to free memory?