Re: Memory leak or flawed garbage collector
- To: mathgroup at smc.vnet.net
- Subject: [mg120811] Re: Memory leak or flawed garbage collector
- From: "Alexey Popkov" <lehin.p at gmail.com>
- Date: Thu, 11 Aug 2011 05:12:30 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <j0u7mo$fc1$1@smc.vnet.net> <j10l01$os6$1@smc.vnet.net>
- Reply-to: "Alexey Popkov" <lehin.p at gmail.com>
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