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