in reply to Differences in garbage collection between 5.8.6 and 5.8.8

Without code to look at, tips are very general. Reuse objects wherever possible by reconfiguring them with new data. Sometimes certain objects can be undefined within a sub and it works, but not gauranteed in general.

These 2 links should get you going in the right direction.

How clever is the garbage collector?

Memory leaks and reference counting within Perl.


I'm not really a human, but I play one on earth. Cogito ergo sum a bum
  • Comment on Re: Differences in garbage collection between 5.8.6 and 5.8.8