uishnik created COUCHDB-2184:
--------------------------------
Summary: 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}],
[]]}}
--
This message was sent by Atlassian JIRA
(v6.2#6252)