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 C13FB7DED for ; Wed, 3 Aug 2011 09:25:14 +0000 (UTC) Received: (qmail 5330 invoked by uid 500); 3 Aug 2011 09:25:12 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 3569 invoked by uid 500); 3 Aug 2011 09:25:03 -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 3531 invoked by uid 99); 3 Aug 2011 09:24:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 09:24:52 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 09:24:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7F635A5FE8 for ; Wed, 3 Aug 2011 09:24:27 +0000 (UTC) Date: Wed, 3 Aug 2011 09:24:27 +0000 (UTC) From: "James Howe (JIRA)" To: dev@couchdb.apache.org Message-ID: <1127158158.4270.1312363467518.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1936787432.45023.1306406747368.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (COUCHDB-1179) erl.exe crash during view indexing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Howe updated COUCHDB-1179: -------------------------------- Affects Version/s: 1.1 Happens with 1.1 too: =erl_crash_dump:0.1 Wed Aug 03 10:20:10 2011 Slogan: eheap_alloc: Cannot allocate 50152200 bytes of memory (of type "heap"). System version: Erlang R14B01 (erts-5.8.2) [source] [smp:4:4] [rq:4] [async-threads:4] Compiled: Mon May 9 10:06:59 2011 Taints: crypto Atoms: 9641 =memory total: 1453854888 processes: 1424142692 processes_used: 1424133548 system: 29712196 atom: 433545 atom_used: 425927 binary: 24181896 code: 3307903 ets: 403636 =hash_table:atom_tab size: 6421 used: 4979 objs: 9641 depth: 7 =index_table:atom_tab size: 10240 limit: 1048576 entries: 9641 =hash_table:module_code size: 197 used: 128 objs: 176 depth: 3 =index_table:module_code size: 1024 limit: 65536 entries: 176 =hash_table:export_list size: 3203 used: 2332 objs: 4176 depth: 7 =index_table:export_list size: 5120 limit: 524288 entries: 4176 =hash_table:secondary_export_table size: 97 used: 0 objs: 0 depth: 0 =hash_table:process_reg size: 47 used: 35 objs: 59 depth: 3 =hash_table:fun_table size: 797 used: 595 objs: 1116 depth: 6 =hash_table:node_table size: 11 used: 1 objs: 1 depth: 1 =hash_table:dist_table size: 11 used: 1 objs: 1 depth: 1 =allocated_areas sys_misc: 302356 static: 499712 atom_space: 131088 123926 atom_table: 66725 module_table: 4968 export_table: 33376 register_table: 252 fun_table: 3250 module_refs: 2048 loaded_code: 2990593 dist_table: 335 node_table: 131 bits_bufs_size: 0 bif_timer: 40172 link_lh: 0 proc: 168196 160196 atom_entry: 235732 235276 export_entry: 202340 202148 module_entry: 8740 8548 reg_proc: 1492 1468 monitor_sh: 21844 20964 nlink_sh: 20524 20284 fun_entry: 63196 62972 db_tab: 12532 11700 driver_event_data_state: 28 28 driver_select_data_state: 356 180 > erl.exe crash during view indexing > ---------------------------------- > > Key: COUCHDB-1179 > URL: https://issues.apache.org/jira/browse/COUCHDB-1179 > Project: CouchDB > Issue Type: Bug > Components: JavaScript View Server > Affects Versions: 1.0.2, 1.1 > Environment: Windows XP, 32-bit > Reporter: James Howe > > While querying new views consecutively, some of which are very large, erl.exe crashes. First few sections of the dump: > =erl_crash_dump:0.1 > Thu May 26 11:34:32 2011 > Slogan: eheap_alloc: Cannot allocate 32097420 bytes of memory (of type "old_heap"). > System version: Erlang R14B01 (erts-5.8.2) [source] [smp:4:4] [rq:4] [async-threads:0] > Compiled: Fri Jan 21 22:17:42 2011 > Taints: crypto > Atoms: 9079 > =memory > total: 1566295328 > processes: 1556974804 > processes_used: 1556965252 > system: 9320524 > atom: 415297 > atom_used: 397915 > binary: 3483760 > code: 3026978 > ets: 1004308 > =hash_table:atom_tab > size: 6421 > used: 4864 > objs: 9079 > depth: 7 > =index_table:atom_tab > size: 9216 > limit: 1048576 > entries: 9079 > =hash_table:module_code > size: 197 > used: 126 > objs: 165 > depth: 3 > =index_table:module_code > size: 1024 > limit: 65536 > entries: 165 > =hash_table:export_list > size: 3203 > used: 2268 > objs: 3969 > depth: 6 > =index_table:export_list > size: 4096 > limit: 524288 > entries: 3969 > =hash_table:secondary_export_table > size: 97 > used: 0 > objs: 0 > depth: 0 > =hash_table:process_reg > size: 47 > used: 34 > objs: 56 > depth: 3 > =hash_table:fun_table > size: 797 > used: 543 > objs: 921 > depth: 6 > =hash_table:node_table > size: 11 > used: 1 > objs: 1 > depth: 1 > =hash_table:dist_table > size: 11 > used: 1 > objs: 1 > depth: 1 > =allocated_areas > sys_misc: 302763 > static: 499712 > atom_space: 131088 113730 > atom_table: 62629 > module_table: 4968 > export_table: 29280 > register_table: 252 > fun_table: 3250 > module_refs: 2048 > loaded_code: 2735300 > dist_table: 335 > node_table: 131 > bits_bufs_size: 0 > bif_timer: 40172 > link_lh: 0 > proc: 288316 285116 > atom_entry: 221580 221556 > export_entry: 192660 192132 > module_entry: 8740 8020 > reg_proc: 1492 1396 > monitor_sh: 41236 35556 > nlink_sh: 40532 39956 > fun_entry: 53044 51980 > db_tab: 12532 10452 > driver_event_data_state: 28 28 > driver_select_data_state: 356 260 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira