process growing without limit

Y

Yakov

I have a perl daemon that grows without limit. The code is large and
written by different people.

I believe that some hash or array grows without limit there. I don't
think there are cyclic refs anywhere in the code. I'd like to use some
tool to catch it.

It would help me it I had a function FindLargeHashOrArray($N) which
would go over *all* hashes and arrays in *all* modules, and show me
hashes and arrays which have more than $N elements.

Is it possible ?

Thanks
Yakov
 
B

Ben Morrow

Quoth Yakov said:
I have a perl daemon that grows without limit. The code is large and
written by different people.

I believe that some hash or array grows without limit there. I don't
think there are cyclic refs anywhere in the code. I'd like to use some
tool to catch it.

It would help me it I had a function FindLargeHashOrArray($N) which
would go over *all* hashes and arrays in *all* modules, and show me
hashes and arrays which have more than $N elements.

You may have some luck with Devel::Leak or Devel::Cycle.

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,017
Latest member
GreenAcreCBDGummiesReview

Latest Threads

Top