At 11:08 PM -0600 8/20/00, Joseph A. DiVerdi wrote: >Unfortunately, there is a memory leak somewhere ... As I understand it, there are several kinds of possible memory leaks: * MacPerl is simply broken * Your script is allocating stuff, but not releasing it * Your script is creating circular references, which Perl's GC is unable to resolve. Of course, when I say "your script", this includes any other code you're linking in. One interesting test would involve: * putting the entire mainline code into a "for (;;) {}" block * putting every global variable you can find into a "my", just within the block * having the mainline code terminate every so often, falling back into the "for (;;) {}" block and recycling I suspect that there may be a way for a MacPerl program to find out how much memory it has left. Perhaps Matthias or Chris can tell us how to do that? -r -- Rich Morin: rdm@cfcl.com, +1 650-873-7841, http://www.cfcl.com/rdm Prime Time Freeware: info@ptf.com, +1 408-433-9662, http://www.ptf.com MacPerl: http://www.macperl.com, http://www.ptf.com/ptf/products/MPPE MkLinux: http://www.mklinux.org, http://www.ptf.com/ptf/products/MKLP # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org