From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id A52B22141D for ; Wed, 30 Jan 2019 04:44:31 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 04/11] t/check-www-inbox: disable history Date: Wed, 30 Jan 2019 04:44:23 +0000 Message-Id: <20190130044430.28189-5-e@80x24.org> In-Reply-To: <20190130044430.28189-1-e@80x24.org> References: <20190130044430.28189-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: WWW::Mechanize keeps an infinitely large stack, which was leading to OOM errors on my system. --- t/check-www-inbox.perl | 1 + 1 file changed, 1 insertion(+) diff --git a/t/check-www-inbox.perl b/t/check-www-inbox.perl index 0a6d61b..db292c5 100644 --- a/t/check-www-inbox.perl +++ b/t/check-www-inbox.perl @@ -151,6 +151,7 @@ sub worker_loop { $SIG{CHLD} = 'DEFAULT'; my $m = WWW::Mechanize->new(autocheck => 0); my $cc = LWP::ConnCache->new; + $m->stack_depth(0); # no history $m->conn_cache($cc); while (1) { $todo_rd->recv(my $u, 65535, 0); -- EW