Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Perl Memory problem ...

by eyepopslikeamosquito (Bishop)
on May 10, 2020 at 05:49 UTC ( #11116639=note: print w/replies, xml ) Need Help??


in reply to Perl Memory problem ...

If you give us more information we should be able to help. Meanwhile, these old nodes might give you a clue as to what your problem might be:

General Areas to consider when faced with a Memory Leak

  • Stability: Once your process grows to a certain size, does it stay there, or does it grow further over time?
  • Large CPAN Modules. Are you using any?
  • Circular references. See Eliminate circular reference memory leak using weaken (Perl Maven)
  • Scoping.
  • File/Database handling.
  • Tools. Try one or more from the following section.

Tools

  • perlvar (search for "$^M")
  • perldiag (search for "out of memory", "malloc", etc)
  • perlfaq3 (search for "malloc", "how can I make my Perl program take less memory", ..., "perl -V:usemymalloc" displays value of "usemymalloc" configuration variable)
  • INSTALL (Build and Installation guide for perl 5, ... search for malloc)
  • perl malloc.c source code

Other

Static Code Analysis References

Testing Concurrent Software References

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11116639]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2021-06-21 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (98 votes). Check out past polls.

    Notices?