X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <20070122181727 DOT GC27843 AT calimero DOT vinschen DOT de> <1552 DOT 67 DOT 40 DOT 28 DOT 188 DOT 1169493973 DOT squirrel AT 67 DOT 40 DOT 28 DOT 188> <20070122202137 DOT GC20665 AT calimero DOT vinschen DOT de> <45B540FF DOT 6060101 AT x-ray DOT at> <20070123083753 DOT GE27843 AT calimero DOT vinschen DOT de> <45B62E0B DOT 4080500 AT sh DOT cvut DOT cz> <45BBCF84 DOT 7070409 AT x-ray DOT at> <20070128120735 DOT GK27843 AT calimero DOT vinschen DOT de> <4903 DOT 67 DOT 42 DOT 100 DOT 49 DOT 1170014267 DOT squirrel AT 67 DOT 42 DOT 100 DOT 49> <5abc24640701300632h2c71438cg16d41386b5ec66af AT mail DOT gmail DOT com> Subject: RE: Perl bug? Date: Tue, 30 Jan 2007 17:13:33 -0000 Message-ID: <040301c74491$f87878e0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <5abc24640701300632h2c71438cg16d41386b5ec66af@mail.gmail.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 30 January 2007 14:33, Andrew Louie wrote: >>> Thanks for the info. It's interesting to know. What I still don't get, >>> however, is the fact that the same statement does not waste memory on >>> the x86 Linux Perl 5.8.5, but does on the x86 Cygwin Perl 5.8.7 and the >>> x86_64 Linux 5.8.8. So it has been introduced only in later versions? >>> And why is it defended? It doesn't seem to make sense, rather on the >>> contrary. > > This question is slightly offtopic, but I am interested in tracking > how much memory my > perl scripts use, can someone tell me how i could do that? > > i tried: > $strace script.pl > strace: error creating process script.pl, (error 193) > strace isn't a shell, so it doesn't process shebang lines. Try "strace perl script.pl" cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/