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
- Follow-Ups:
- Re: Re: How to free memory?
- From: Igor Antonio <igora@wolf-ram.com>
- Re: Re: How to free memory?