MathGroup Archive 2001

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

Search the Archive

Re: Memory Leak

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30086] Re: [mg30055] [mg30048] Memory Leak
  • From: Ranko Bojanic <bojanic at math.ohio-state.edu>
  • Date: Fri, 27 Jul 2001 03:52:22 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com


Here is what I obtain on DP 500 MHZ PowerMac G4 with System 9.1 and Mathematica 4.1:

$Version
4.1 for Power Macintosh (November 2, 2000)

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

1124176
1124264
1124264
1124264
1124264
1124264
1124264
1124264
1124264
1124264

Ranko

-----Original Message-----From:Carl K.Woll
To: mathgroup at smc.vnet.net
To:mathgroup at smc.vnet.net
Subject:[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: Re: Element-by-element Matrix Multiplication
  • Next by Date: Re: NDSolve does not let me to stop
  • Previous by thread: Re: Memory Leak
  • Next by thread: exporting extended ascii characters