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 64F309F25 for ; Mon, 11 Jun 2012 13:27:44 +0000 (UTC) Received: (qmail 40866 invoked by uid 500); 11 Jun 2012 13:27:43 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 40817 invoked by uid 500); 11 Jun 2012 13:27:43 -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 40786 invoked by uid 99); 11 Jun 2012 13:27:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2012 13:27:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 51740142864 for ; Mon, 11 Jun 2012 13:27:43 +0000 (UTC) Date: Mon, 11 Jun 2012 13:27:43 +0000 (UTC) From: "Robert Newson (JIRA)" To: dev@couchdb.apache.org Message-ID: <745032918.2728.1339421263337.JavaMail.jiratomcat@issues-vm> In-Reply-To: <59629357.36014.1338841103551.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (COUCHDB-1490) Problems with views on large documents JSONs 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-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292800#comment-13292800 ] Robert Newson commented on COUCHDB-1490: ---------------------------------------- I get the timeout (OS X 10.7.4) with couchdb 1.2.0 using spidermonkey 1.7.0 but not when using spidermonkey 1.8.5. I've done this test several times and it's consistent. Works 100% with 1.8.5 (I used 20 copies of the 2LG document) and 0% with 1.7.0. > Problems with views on large documents JSONs > -------------------------------------------- > > Key: COUCHDB-1490 > URL: https://issues.apache.org/jira/browse/COUCHDB-1490 > Project: CouchDB > Issue Type: Bug > Affects Versions: 1.2 > Environment: Mac Os x 10.6.8, intel Architecture (x86_64), 8Gb of Ram, Erlang R15B01 (erts-5.9.1) > Reporter: Francesco > > Hi, > i run a couchdb server (v1.2.0) over a mac (intel architecture, 8gb of ram, > os x version 10.6.8) installed with brew. > The server itself is used as a storage of big jsons (example: https://raw.github.com/cvdlab-bio/webpdb/develop/docs/jsons/2LGB-pretty-print.json and https://raw.github.com/cvdlab-bio/webpdb/develop/docs/jsons/2CRK-pretty-print.json ) for a tiny uni project. > When we load more than 3 of these jsons, all the map functions (we created to retrieve documents besides a simple get by id) does not work. > A typical map is: > function(doc){if(doc.TITLE.title.match('.*INSULIN.*') !== null) emit(doc.ID, > doc);} > but even a > function(doc){emit(doc.ID, doc.ID)} > cease to work. > while when there are just 3 or 2 jsons in the database they work just fine. I tried increasing the stack for couchjs (1gb now, going over 1gb doesn't work it seems), increasing limits for files (4096), increasing timeout for processes but in the end i don't get any results and only a (Error: > os_process_error {exit_status,0}) from the db. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira