Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 270EF104F0 for ; Tue, 4 Mar 2014 07:25:25 +0000 (UTC) Received: (qmail 21241 invoked by uid 500); 4 Mar 2014 07:25:24 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 21051 invoked by uid 500); 4 Mar 2014 07:25:22 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 21027 invoked by uid 99); 4 Mar 2014 07:25:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2014 07:25:21 +0000 Date: Tue, 4 Mar 2014 07:25:20 +0000 (UTC) From: "uishnik (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (COUCHDB-2184) Query to a view fails with InternalError("allocation size overflow") MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] uishnik updated COUCHDB-2184: ----------------------------- Description: I have a JSON document with large array (over 150 items of JSON). Upon querying a view having this document I get the following error: Error: unnamed_error (new InternalError("allocation size overflow", "/usr/share/couchdb/server/main.js", 1378)) Stacktrace: [Sun, 02 Mar 2014 08:48:15 GMT] [error] [<0.4208.3>] Uncaught server error: {<<"unnamed_error">>, <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>} [Sun, 02 Mar 2014 08:48:15 GMT] [error] [<0.7096.1>] ** Generic server <0.7096.1> terminating ** Last message in was {'EXIT',<0.7095.1>, {<<"unnamed_error">>, <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>}} ** When Server state == {file,{file_descriptor,prim_file,{#Port<0.6165>,223}}, 1938886161} ** Reason for termination == ** {<<"unnamed_error">>, <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>} [Sun, 02 Mar 2014 08:48:15 GMT] [error] [<0.7096.1>] {error_report,<0.31.0>, {<0.7096.1>,crash_report, [[{initial_call,{couch_file,init,['Argument__1']}}, {pid,<0.7096.1>}, {registered_name,[]}, {error_info, {exit, {<<"unnamed_error">>, <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>}, [{gen_server,terminate,6}, {proc_lib,init_p_do_apply,3}]}}, {ancestors,[<0.7095.1>,<0.7094.1>]}, {messages,[{'EXIT',<0.7098.1>,shutdown}]}, {links,[]}, {dictionary,[]}, {trap_exit,true}, {status,running}, {heap_size,1597}, {stack_size,24}, {reductions,33269}], []]}} Couchdb 1.2 was: I have a JSON document with large array (over 150 items of JSON). Upon querying a view having this document I get the following error: Error: unnamed_error (new InternalError("allocation size overflow", "/usr/share/couchdb/server/main.js", 1378)) Stacktrace: [Sun, 02 Mar 2014 08:48:15 GMT] [error] [<0.4208.3>] Uncaught server error: {<<"unnamed_error">>, <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>} [Sun, 02 Mar 2014 08:48:15 GMT] [error] [<0.7096.1>] ** Generic server <0.7096.1> terminating ** Last message in was {'EXIT',<0.7095.1>, {<<"unnamed_error">>, <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>}} ** When Server state == {file,{file_descriptor,prim_file,{#Port<0.6165>,223}}, 1938886161} ** Reason for termination == ** {<<"unnamed_error">>, <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>} [Sun, 02 Mar 2014 08:48:15 GMT] [error] [<0.7096.1>] {error_report,<0.31.0>, {<0.7096.1>,crash_report, [[{initial_call,{couch_file,init,['Argument__1']}}, {pid,<0.7096.1>}, {registered_name,[]}, {error_info, {exit, {<<"unnamed_error">>, <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>}, [{gen_server,terminate,6}, {proc_lib,init_p_do_apply,3}]}}, {ancestors,[<0.7095.1>,<0.7094.1>]}, {messages,[{'EXIT',<0.7098.1>,shutdown}]}, {links,[]}, {dictionary,[]}, {trap_exit,true}, {status,running}, {heap_size,1597}, {stack_size,24}, {reductions,33269}], []]}} Couchdb 1.5 > Query to a view fails with InternalError("allocation size overflow") > -------------------------------------------------------------------- > > Key: COUCHDB-2184 > URL: https://issues.apache.org/jira/browse/COUCHDB-2184 > Project: CouchDB > Issue Type: Bug > Security Level: public(Regular issues) > Components: Database Core, View Server Support > Reporter: uishnik > > I have a JSON document with large array (over 150 items of JSON). Upon querying a view having this document I get the following error: > Error: unnamed_error > (new InternalError("allocation size overflow", "/usr/share/couchdb/server/main.js", 1378)) > Stacktrace: > [Sun, 02 Mar 2014 08:48:15 GMT] [error] [<0.4208.3>] Uncaught server error: {<<"unnamed_error">>, > <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>} > [Sun, 02 Mar 2014 08:48:15 GMT] [error] [<0.7096.1>] ** Generic server <0.7096.1> terminating > ** Last message in was {'EXIT',<0.7095.1>, > {<<"unnamed_error">>, > <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>}} > ** When Server state == {file,{file_descriptor,prim_file,{#Port<0.6165>,223}}, > 1938886161} > ** Reason for termination == > ** {<<"unnamed_error">>, > <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>} > [Sun, 02 Mar 2014 08:48:15 GMT] [error] [<0.7096.1>] {error_report,<0.31.0>, > {<0.7096.1>,crash_report, > [[{initial_call,{couch_file,init,['Argument__1']}}, > {pid,<0.7096.1>}, > {registered_name,[]}, > {error_info, > {exit, > {<<"unnamed_error">>, > <<"(new InternalError(\"allocation size overflow\", \"/usr/share/couchdb/server/main.js\", 1378))">>}, > [{gen_server,terminate,6}, > {proc_lib,init_p_do_apply,3}]}}, > {ancestors,[<0.7095.1>,<0.7094.1>]}, > {messages,[{'EXIT',<0.7098.1>,shutdown}]}, > {links,[]}, > {dictionary,[]}, > {trap_exit,true}, > {status,running}, > {heap_size,1597}, > {stack_size,24}, > {reductions,33269}], > []]}} > Couchdb 1.2 -- This message was sent by Atlassian JIRA (v6.2#6252)