MathGroup Archive 2001

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

Search the Archive

AW: RE: Memory Leak

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30094] AW: [mg30055] RE: [mg30048] Memory Leak
  • From: Matthias.Bode at oppenheim.de
  • Date: Sat, 28 Jul 2001 01:50:58 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Colleagues,

no leakage reported from the banking industry:

Windows NT 4.0, MATHEMATICA 4.1, Intel Pentium III in DELL LATITUDE laptop:

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

1265976

1266088

1266088

1266088

1266088

1266088

1266088

1266088

1266088

1266088

Best regards,

Matthias Bode
Sal. Oppenheim jr. & Cie. KGaA
Koenigsberger Strasse 29
D-60487 Frankfurt am Main
GERMANY
Tel.: +49(0)69 71 34 53 80
Mobile: +49(0)172 6 74 95 77
Fax: +49(0)69 71 34 63 80
E-mail: matthias.bode at oppenheim.de
Internet: http://www.oppenheim.de


-----Original Message-----
From: Carl K. Woll [mailto:carlw at u.washington.edu]
To: mathgroup at smc.vnet.net
Subject: [mg30094] [mg30055] [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: subscripted variables in Modules
  • Next by Date: Pattern matching "on the fly"
  • Previous by thread: Re: subscripted variables in Modules
  • Next by thread: Pattern matching "on the fly"