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