Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

memory leak v3.44 split

1 view
Skip to first unread message

John Watson

unread,
Mar 3, 1991, 9:05:37 PM3/3/91
to
Please would someone else try this for me.

First run it without the "reset" and then run it again with the "reset".
I can't see any reason that the first case uses 130K more than the second.
More loops, more memory.


$t='aaaaaaaaaaaa_bbbbbbbbbbb_cccccccccc_ddddddddd';
while (++$x<1000) {
@F=split(/_/,$t);
# reset 'F';
}
system 'ps -dl|egrep perl';


I am running on a Xenix 2.3.3 O/S with Xenix 2.3.0d Devl/Sys I have tried
this with perl malloc, regular malloc and -lmalloc, all about the same.

I compile with -Oct and -Zp2

The problem cropped up recently and may have to do with the debug option,
but I have lost the recipy for the working version. It's not the -Zp2,
that has been there all along due to requirements of my usersub.

Thanks, John Watson carssdf!usenet

0 new messages