home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / perl / 7702 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.4 KB

  1. Path: sparky!uunet!dove!dove.nist.gov!przemek
  2. From: przemek@rrdstrad.nist.gov (Przemek Klosowski)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: How to limit Perl memory usage?
  5. Message-ID: <PRZEMEK.93Jan7110324@rrdstrad.nist.gov>
  6. Date: 7 Jan 93 16:03:24 GMT
  7. References: <PRZEMEK.93Jan5181833@rrdstrad.nist.gov>
  8. Sender: news@dove.nist.gov
  9. Organization: U. of Maryland/NIST
  10. Lines: 26
  11. In-reply-to: przemek@rrdstrad.nist.gov's message of 5 Jan 93 23:18:33 GMT
  12.  
  13.  
  14. Hello again!
  15.  
  16. I got some mail messages related to my problems with mysterious (to
  17. me, at least :^) Perl memory usage. Apparently other folks have
  18. also experienced similar problems, perhaps because we don't quite
  19. understand Perl memory usage habits. 
  20.  
  21. It occurred to me that there could be a way to monitor the memory
  22. usage: doing `ps auxww` and extracting the SZ field for the Perl's
  23. line is a slow but sure way of checking the memory; are there any
  24. better ways? Maybe there could be a command line switch that would
  25. warn of a rapidly growing memory requirements? or a command that woud
  26. mark the place where _I_ believe the allocated memory should be
  27. invariant, and issue a warning if it is not?
  28.  
  29. BTW, my perl version is 4.0 pl 35, if it matters.
  30.  
  31.  
  32. --
  33.             przemek klosowski (przemek@rrdstrad.nist.gov)
  34.             Reactor Division (bldg. 235), E111
  35.             National Institute of Standards and Technology
  36.             Gaithersburg, MD 20899,      USA
  37.  
  38.             (301) 975 6249
  39.