[Xotcl] memory leak problem
Victor Mayevski
vitick at gmail.com
Thu Oct 22 09:37:12 CEST 2009
Hello,
I am using XOTcl 1.6.3, on 64bit Linux platform, with ActiveState
8.6.b2 distribution. The distribution itself is 32bit. I also tried
and have the same problem with 32bit ActiveState 8.5.7 version.
The simplest way to reproduce the problem is to do the following:
Class X;
set parameter_list {parameter1 parameter2 .... parameter100}; ### 100
or so values
X instproc init args {
my requireNamespace; ### I need that
foreach p [set ::parameter_list] {
my parametercmd $p;
my $p {};
};
next;
};
#then run the following
time {X x; x destroy} 1000000
### the above line eats up a lot of memory and it is not being
released during destruction of an instance.
Thanks.
More information about the Xotcl
mailing list