Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [mg30091] Re: Memory Leak -- From Jon@mtheory
  • From: "Alan Mason" <amason2 at austin.rr.com>
  • Date: Fri, 27 Jul 2001 03:52:26 -0400 (EDT)
  • References: <9joabo$1ab$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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
> Subject: [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: NDSolve does not let me to stop
  • Next by Date: Re: Element-by-element Matrix Multiplication
  • Previous by thread: Re: Memory Leak -- From Jon@mtheory
  • Next by thread: Re: Memory Leak