Re: Memory Leak
- To: mathgroup at smc.vnet.net
- Subject: [mg30065] Re: Memory Leak
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Thu, 26 Jul 2001 01:20:02 -0400 (EDT)
- References: <9jlkhg$8iu$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Carl, The following result is with Version: "4.1 for Microsoft Windows (November 2, 2000)" Machine: Toshiba Tecra 750 DVD In[1]:= Do[Print[MemoryInUse[]]; ListConvolve[{1, 2, 3}, {2, 3, 4}], {10}] 1264080 1264192 1264192 1264192 1264192 1264192 1264192 1264192 1264192 1264192 -- Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565 "Carl K. Woll" <carlw at u.washington.edu> wrote in message 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 > > >