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: Garbage collection problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51853] Re: Garbage collection problem
  • From: sean_incali at yahoo.com (sean kim)
  • Date: Wed, 3 Nov 2004 01:26:08 -0500 (EST)
  • References: <cm7d0u$lho$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

and example b. 

In[34]:=
run[do_]:= Module[{},
    Do[ soln=NDSolve[eq,vars,{t,0,2},StoppingTest->test][[1]]; , {do}]]

In[37]:=
run[200]
MemoryInUse[] 

Out[38]=
8540856

In[34]:=
run[do_]:= Module[{},
    Do[ soln=NDSolve[eq,vars,{t,0,2},StoppingTest->test][[1]]; , {do}]]

In[39]:=
run[20]
MemoryInUse[] 

Out[40]=
8625976


  • Prev by Date: fractal image compression
  • Next by Date: How to include images and graphics in Mathematica
  • Previous by thread: Garbage collection problem
  • Next by thread: Re: Re: Garbage collection problem