Re: Memory Leak
- To: mathgroup at smc.vnet.net
- Subject: [mg30066] Re: Memory Leak
- From: "Oliver Friedrich" <oliver.friedrich at tz-mikroelektronik.de>
- Date: Thu, 26 Jul 2001 01:20:02 -0400 (EDT)
- References: <9jlkhg$8iu$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hallo Carl, I did exactly your lines of code on a NT machine running Mathematica 3.0. My output is 837760 941952 941952 941952 941952 941952 941952 941952 941952 941952 So it seems to stay constant except the first one. I hope I could help you. I could give it another trial on the Win98 machine with version 3.0 Oliver "Carl K. Woll" <carlw at u.washington.edu> schrieb im Newsbeitrag news:9jlkhg$8iu$1 at smc.vnet.net... > Hi all, > > I've discovered another memory leak in Mathematica. When I execute the > following code: > > In[6]:= > Do[Print[MemoryInUse[]]; ListConvolve[{1, 2, 3}, > {2, 3, 4}], {10}] > > 1255008 > 1255144 > 1255168 > 1255192 > 1255216 > 1255240 > 1255264 > 1255288 > 1255312 > 1255336 > > You can see that each loop has an increase in the memory usage for no > apparent reason. This memory leak occurs with version 4.0 under WindowsNT. > It does not occur with version 4.1 under Linux. I would appreciate it if > anyone out there with a different configuration than the above would check > out whether a memory leak exists for their configuration. > > Carl Woll > Physics Dept > U of Washington > > >