diff --git a/Leak-Hunting/eg/01.pod b/Leak-Hunting/eg/01.pod index be5bc48..ed3249e 100644 --- a/Leak-Hunting/eg/01.pod +++ b/Leak-Hunting/eg/01.pod @@ -52,6 +52,7 @@ only work on Linux due to checking /proc for the memory usage. my $mech = Test::WWW::Mechanize::PSGI->new( app => $app, + stack_depth => 0, ); my $start_mem = get_mem(); diff --git a/Leak-Hunting/loop_requests.pl b/Leak-Hunting/loop_requests.pl index 0b592db..2a22d5a 100644 --- a/Leak-Hunting/loop_requests.pl +++ b/Leak-Hunting/loop_requests.pl @@ -10,6 +10,7 @@ my $mech = Test::WWW::Mechanize::PSGI->new( app => $app, + stack_depth => 0, ); my $start_mem = get_mem();