Thanks! With 5.0 release we can profile our applications! Flame graphs very pretty!
Sample memory usages that I collect for Catalyst test suite. Run as: $ PERL5OPT=-d:NYTProf NYTPROF=addpid=1 prove -b $ nytprofmerge -o merged.out nytprof.out.* $ nytprofhtml -f merged.out before https://github.com/timbunce/devel-nytprof/commit/ca91df417ad64cd0a4da70d81711ea4c27977dc3: nytprofmerge - 230Mb nytprofcalls - 5.5Gb nytprofhtml - 147Mb (without nytprofcalls) flamegraph.pl - 4Gb after latest commits: nytprofmerge - 230Mb nytprofcalls - about 1Gb nytprofhtml - 147Mb (without nytprofcalls) flamegraph.pl - 4Gb PS. if I set "calls=0" option, then nytprofhtml fail with error "ERROR: No stack counts found " On Mon, Apr 8, 2013 at 3:56 AM, Vladimir Timofeev <[email protected]> wrote: > Thanks! > Now merging process successfully finished with these memory consumption > $ nytprofmerge -o merged.out nytprof.out.* - about 4Gb > Then report generation was killed by OOM (about 26Gb) on line > "Extracting subroutine call data ..." > $ nytprofhtml -f merged.out > It can be okey probably, because merged.out has size 7.8Gb > > I will try test with calls=0 tomorrow. > > > On Mon, Apr 8, 2013 at 2:40 AM, Tim Bunce <[email protected]> wrote: >> On Sat, Apr 06, 2013 at 11:13:12PM +0400, Vladimir Timofeev wrote: >>> >>> Apr 06 22:30:53 vov.home kernel: Out of memory: Kill process 9028 >>> (nytprofmerge) score 713 or sacrifice child >>> Apr 06 22:30:53 vov.home kernel: Killed process 9028 (nytprofmerge) >>> total-vm:23488952kB, anon-rss:23469036kB, file-rss:0kB >> >> I've just uploaded Devel-NYTProf-4.90_91.tar.gz which fixes the leak. >> Please retry with that and let me know how it goes. >> >> Thanks! >> >> Tim. > > > > -- > Vladimir Timofeev <[email protected]> -- Vladimir Timofeev <[email protected]> -- -- You've received this message because you are subscribed to the Devel::NYTProf Development User group. Group hosted at: http://groups.google.com/group/develnytprof-dev Project hosted at: http://perl-devel-nytprof.googlecode.com CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf To post, email: [email protected] To unsubscribe, email: [email protected] --- You received this message because you are subscribed to the Google Groups "Devel::NYTProf Dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
