From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) by hurricane.the-brannons.com (Postfix) with ESMTPS id EEA7778417 for ; Fri, 7 Feb 2014 00:13:48 -0800 (PST) Received: by mail-we0-f178.google.com with SMTP id q59so2010260wes.23 for ; Fri, 07 Feb 2014 00:13:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=h0mSMrme93WvUos7/d/4E0gV0W5evF5ehmN/8cVbb2o=; b=JyfPEz1k3obJX3S3K7q1TTVoaiDiIs+naR3LrCE9YGXYXSxv3BEyRqiFsIKi50v3rp UHayeQz3flmGg4zmj7MWXX15KFotfRN1OqIJY0ouQwuhzGUoX/SwEfBvmNr3F2GtELZX PsXL+EF0YYobJ5GJjp0hGN+wLkG3Ekte0ukhPwF0oDvFIB1ogGlrDln/kKn2M71zDd0T ujFCeVyoKB/Z+Le1yyWEeGxEzd2BzyKWSTKQ/RTGEWWS7AuOgyd34mxJ0Pz/21BVWkZG oPR/0d4H2KsY3nvwyTQh9PtHOrcyqVHSXq/E+twjYGi+EsYrdiA5rWq6Euskmp9mT6Qa EjxA== X-Received: by 10.194.77.7 with SMTP id o7mr9369134wjw.35.1391760793550; Fri, 07 Feb 2014 00:13:13 -0800 (PST) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id pm2sm8271418wic.0.2014.02.07.00.13.12 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 07 Feb 2014 00:13:12 -0800 (PST) Date: Fri, 7 Feb 2014 08:13:10 +0000 From: Adam Thompson To: Chris Brannon Message-ID: <20140207081310.GC3978@toaster.adamthompson.me.uk> References: <878utnhim0.fsf@mushroom.PK5001Z> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878utnhim0.fsf@mushroom.PK5001Z> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] suggest increasing the size argument to JS_NewRuntime X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 08:13:49 -0000 On Thu, Feb 06, 2014 at 04:27:51PM -0800, Chris Brannon wrote: > From what I can tell, the remaining segfaults all seem to be caused by > out-of-memory errors in JS. As an aside, with debug level 2 or greater, > edbrowse will print "out of memory" before it crashes. > I've increased the size argument to JS_NewRuntime locally, and it > helps. I'd suggest bumping it from 4 megabytes to at least 16 or 32. > Any objections? Not really, should this be configurable? > Also, I pushed the patch that we discussed earlier today. Ok, will build and test today. Cheers, Adam.