Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4348
| From | "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Memory leak or flawed garbage collector |
| Date | 2011-08-12 09:11 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j22qol$gsn$1@smc.vnet.net> (permalink) |
| References | <j0u7mo$fc1$1@smc.vnet.net> <j10l01$os6$1@smc.vnet.net> |
On Thu, 11 Aug 2011 10:19:46 +0100, Alexey Popkov <lehin.p@gmail.com>
wrote:
> There is another old bug with non-deleting unreferenced Module variables
> after Part assignments to them in v.5.2 which is not completely fixed
> even
> in version 7.0.1:
>
> In[1]:= $HistoryLength=0;$Version
> Module[{L=Array[0&,10^7]},L[[#]]++&/@Range[100];];
> Names["L$*"]
> ByteCount@Symbol@#&/@Names["L$*"]
> Out[1]= 7.0 for Microsoft Windows (32-bit) (February 18, 2009)
> Out[3]= {L$111}
> Out[4]= {40000084}
>
> Ref.: http://forums.wolfram.com/mathgroup/archive/2006/Mar/msg00170.html
>
Nor in 8.0.1, for that matter. It seems that there may be quite a number
of corner cases in which either references are not counted correctly or
hidden references are created that inhibit garbage collection. At least, I
can't think of any connection between immediate part assignments and
delayed OwnValue assignments to Temporary symbols that would explain the
similarly erroneous behaviour observed in these two cases.
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Memory leak or flawed garbage collector "Fabrice P. Laussy" <fabrice.laussy@gmail.com> - 2011-07-29 12:05 +0000
Re: Memory leak or flawed garbage collector "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-07-30 10:04 +0000
Re: Memory leak or flawed garbage collector "Alexey Popkov" <lehin.p@gmail.com> - 2011-07-31 11:27 +0000
Re: Memory leak or flawed garbage collector "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-08-01 03:38 +0000
Re: Memory leak or flawed garbage collector "Alexey Popkov" <lehin.p@gmail.com> - 2011-08-02 11:12 +0000
Re: Memory leak or flawed garbage collector Daniel Lichtblau <danl@wolfram.com> - 2011-08-03 11:16 +0000
Re: Memory leak or flawed garbage collector "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-08-03 11:15 +0000
Re: Memory leak or flawed garbage collector "Alexey Popkov" <lehin.p@gmail.com> - 2011-08-11 09:19 +0000
Re: Memory leak or flawed garbage collector "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-08-12 09:11 +0000
csiph-web