Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 02B8910FC1 for ; Tue, 10 Feb 2015 02:44:39 +0000 (UTC) Received: (qmail 92496 invoked by uid 500); 10 Feb 2015 02:44:38 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 92429 invoked by uid 500); 10 Feb 2015 02:44:38 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 92417 invoked by uid 99); 10 Feb 2015 02:44:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2015 02:44:37 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of siriele2x3@gmail.com designates 209.85.192.51 as permitted sender) Received: from [209.85.192.51] (HELO mail-qg0-f51.google.com) (209.85.192.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2015 02:44:33 +0000 Received: by mail-qg0-f51.google.com with SMTP id z60so20928857qgd.10 for ; Mon, 09 Feb 2015 18:44:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vcLjxktDUh7fuAzK5dP6RXShNWfT3RjTNqnAlp96XEo=; b=OjUNya2YKMO6qn4qmFuke8OCkteBRucYFZ+gkkibQaP9BNlHGHBxA5IhfHCIY0ZjGj g7x4uBRYNBaBEr80xYOACuKx7ZzACYLPzqihSgXpQhTog9T1+T6zCb3dRuHOHKkeJWoS Uh65s0pffplH+EpOFaFGdRZxRhUzhg9MAgb1ZacWtdPWW3BaHdXop4cTkKEsqARLFcUB /A14UySNRirqBFdDRcfAzYfk4Zx5e4rX6P0RDleLFdviYOqD1d8OCz+JVi9soYC2AvBs zPPWVb+78k/7Mf8uNQb3r0GEMUe399aZ+aVSK4HCXIDMpN0LK+BThtovFO7MnVQx09TA gxQA== MIME-Version: 1.0 X-Received: by 10.224.136.130 with SMTP id r2mr34394224qat.18.1423536252735; Mon, 09 Feb 2015 18:44:12 -0800 (PST) Received: by 10.96.143.136 with HTTP; Mon, 9 Feb 2015 18:44:12 -0800 (PST) Received: by 10.96.143.136 with HTTP; Mon, 9 Feb 2015 18:44:12 -0800 (PST) In-Reply-To: References: Date: Mon, 9 Feb 2015 18:44:12 -0800 Message-ID: Subject: Re: Error while indexing a big JSON From: Stanley Iriele To: lmorandini@ieee.org, user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001a11c2cc08ab5862050eb2dc34 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2cc08ab5862050eb2dc34 Content-Type: text/plain; charset=UTF-8 One thing that van be happening is that you are hitting the RPC timeout for the view server. The real question is..why do you have an 11 mb file?. Would your project make sense it apart into smaller docs? On Feb 9, 2015 6:41 PM, "Luca Morandini" wrote: > Dear CouchDB community, > > I am trying to process a large JSON (~11MB) with a view, but this > operaiton fails: > > [Fri, 07 Nov 2014 04:38:20 GMT] [info] [<0.3493.1>] Starting index update > for db: join88b760bd3b0346e09c7ca2d6c9a54215 idx: _design/join > [Fri, 07 Nov 2014 04:38:32 GMT] [error] [<0.3498.1>] OS Process Error > <0.3206.1> :: {os_process_error, > {exit_status,1}} > [Fri, 07 Nov 2014 04:38:34 GMT] [error] [emulator] Error in process > <0.3498.1> with exit value: {{nocatch,{os_process_error,{ > exit_status,1}}},[{couch_os_process,prompt,2,[{file," > couch_os_process.erl"},{line,57}]},{couch_query_servers, > map_doc_raw,2,[{file,"couch_query_servers.erl"},{line,88}] > },{couch_mrview_updater,'-map_docs/2-fun-0-'... > > I suppose Couchjs is finding itself short of memory: is this a sensible > hypothesis ? > > If so, how can I increase the memory devoted to the JavaScript view engine > ? > > Regards, > > Luca Morandini > Data Architect - AURIN project > Melbourne eResearch Group > Department of Computing and Information Systems > University of Melbourne > Tel. +61 03 903 58 380 > Skype: lmorandini > > --001a11c2cc08ab5862050eb2dc34--