Re: [Boston.pm] Phishing for CPAN

2011-03-08 Thread Bob Rogers
From: Tom Metro tmetro-boston...@vl.com Date: Tue, 08 Mar 2011 02:31:34 -0500 . . . I'm curious what their motivations are. Is a freely available CPAN account useful for anything? Or is it merely an the first step in gathering data for identity theft? Asking for date of birth

Re: [Boston.pm] [Boston.pm-announce] Tech Meeting March 8th, at MIT E51-376 7 ~ 7:30pm

2011-03-08 Thread Ricker, William
Small number so far. More ? Bill, typing with thumbs - Original Message - From: boston-pm-announce-bounces+william.ricker=fmr@mail.pm.org boston-pm-announce-bounces+william.ricker=fmr@mail.pm.org To: Boston Perl Mongers (announce) boston-pm-annou...@pm.org; Boston PM

[Boston.pm] more on tonight

2011-03-08 Thread Uri Guttman
hi all, we seem to have a low head count for tonight. maybe i can offer some reasons to come by. i will be going over not only the new features in File::Slurp but some interesting coding tricks in it and its tests. one involves overriding core functions for testing. another involved splitting

[Boston.pm] profiling memory usage

2011-03-08 Thread Tom Metro
Some code I'm working on is triggering an out of memory error, and I'd like to figure out what specifically is responsible. (It's a complex system with dozens of libraries and it runs in parallel across a cluster of machines. Running the code in a debugger isn't a practical option.) Any

Re: [Boston.pm] profiling memory usage

2011-03-08 Thread Conor Walsh
You can trap OOM if your Perl is compiled to use $^M, which your Perl probably isn't. Otherwise... if I were you I'd look into a combination of old-fashioned sprinkle print statements everywhere and maybe some deep magic to attach them to the start of every sub. That said, even if you do trap

[Boston.pm] profiling memory usage

2011-03-08 Thread Bob Rogers
From: Tom Metro tmetro-boston...@vl.com Date: Tue, 08 Mar 2011 22:52:21 -0500 Some code I'm working on is triggering an out of memory error, and I'd like to figure out what specifically is responsible. (It's a complex system with dozens of libraries and it runs in parallel across a

Re: [Boston.pm] profiling memory usage

2011-03-08 Thread Federico Lucifredi
I haven't tried this, but I have been mulling it for some time: using Dtrace to debug Perl. Of course, you'd have to be on *BSD or OS-X (or Soracle), But if that's Ok, using runtime probes seems very promising for the memory leak/out of memory problem area. I saw a good tutorial at OSCON on

Re: [Boston.pm] profiling memory usage

2011-03-08 Thread Uri Guttman
TM == Tom Metro tmetro-boston...@vl.com writes: TM Some code I'm working on is triggering an out of memory error, and I'd TM like to figure out what specifically is responsible. (It's a complex TM system with dozens of libraries and it runs in parallel across a cluster TM of machines.

Re: [Boston.pm] profiling memory usage

2011-03-08 Thread Ben Tilly
On Tue, Mar 8, 2011 at 7:52 PM, Tom Metro tmetro-boston...@vl.com wrote: Some code I'm working on is triggering an out of memory error, and I'd like to figure out what specifically is responsible. (It's a complex system with dozens of libraries and it runs in parallel across a cluster of

Re: [Boston.pm] profiling memory usage

2011-03-08 Thread Tom Metro
Conor Walsh wrote: You can trap OOM if your Perl is compiled to use $^M... http://perldoc.perl.org/perlvar.html $^M By default, running out of memory is an untrappable, fatal error. However, if suitably built, Perl can use the contents of $^M as an emergency memory pool after die()ing.

Re: [Boston.pm] profiling memory usage

2011-03-08 Thread Tom Metro
Federico Lucifredi wrote: I haven't tried this, but I have been mulling it for some time: using Dtrace to debug Perl. ...using runtime probes seems very promising for the memory leak/out of memory problem area. I saw a good tutorial at OSCON on the subject, and it had a Python section, I

Re: [Boston.pm] profiling memory usage

2011-03-08 Thread Tom Metro
Uri Guttman wrote: if you run out of vram and you didn't expect it, wouldn't that signify a possible leak? No, not necessarily. This is code that processes large flat files, supplementing them with information pulled from a few large lookup tables which are loaded into memory, as well as