MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Memory Leak -- From Jon@mtheory

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30073] Re: [mg30048] Memory Leak -- From Jon@mtheory
  • From: "Jon" <MTheory at msn.com>
  • Date: Thu, 26 Jul 2001 01:20:10 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

mtheory at msn.com

Hi Carl,

Ver. 4.0 under Win Me, with Pentium 4 (1.7 GHz) produces the following result.

1435280
1435416
1435440
1435464
1435488
1435512
1435536
1435560
1435584
1435608

Notice that the values exhibit the same incremental pattern.

regards,

Jon

----- Original Message -----
From: Carl K. Woll
To: mathgroup at smc.vnet.net
Subject: [mg30073] [mg30048] Memory Leak
 
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


  • Prev by Date: RE: Memory Leak
  • Next by Date: Re: Memory Leak
  • Previous by thread: Re: "Bottomless Options Inspector", was "Folds"
  • Next by thread: Re: Memory Leak -- From Jon@mtheory