MathGroup Archive 2001

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

Search the Archive

Re: Memory Leak

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30101] Re: Memory Leak
  • From: jmt <jmt at agat.net>
  • Date: Sat, 28 Jul 2001 01:51:02 -0400 (EDT)
  • References: <9joabo$1ab$1@smc.vnet.net> <200107270752.DAA04777@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Sounds like 4.0 on Linux is affected :


$Version

"4.0 for Linux (December 7, 1999)"

In[1]:=
Do[Print[MemoryInUse[]]; ListConvolve[{1, 2, 3}, {2, 3, 4}], {10}]

1012800

1012904

1012920

1012936

1012952

1012968

1012984

1013000

1013016

1013032

On Friday 27 July 2001 09:52, you wrote:
> Hello-- I get correct behavior from Ver. 4.1 under Win2000 SP1.  The
> results are:
>
> In[1]:=
> Do[Print[MemoryInUse[]]; ListConvolve[{1, 2, 3},
> {2, 3, 4}], {10}]
>
> 1264504
>
> 1264616
>
> 1264616
>
> 1264616
>
> 1264616
>
> 1264616
>
> 1264616
>
> 1264616
>
> 1264616
>
> 1264616
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> "Jon" <MTheory at msn.com> wrote in message news:9joabo$1ab$1 at smc.vnet.net...
>
> > 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
>
> To: mathgroup at smc.vnet.net
>
> > Subject: [mg30101] [mg30091]  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: six-fold integral
  • Next by Date: Number Rotation??(?)
  • Previous by thread: Re: Memory Leak -- From Jon@mtheory
  • Next by thread: 3D Line Directives Bug?