You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "James Howe (JIRA)" <ji...@apache.org> on 2011/05/26 12:45:47 UTC

[jira] [Created] (COUCHDB-1179) erl.exe crash during view indexing

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
         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

[jira] [Commented] (COUCHDB-1179) erl.exe crash during view indexing

Posted by "Dave Cottlehuber (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198382#comment-13198382 ] 

Dave Cottlehuber commented on COUCHDB-1179:
-------------------------------------------

James, can you try this again with http://people.apache.org/~dch/dist/snapshots/20120127/ please? its got a fix for COUCHDB-1258 in which may address this. 
                
> 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.
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

        

[jira] [Commented] (COUCHDB-1179) erl.exe crash during view indexing

Posted by "James Howe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090866#comment-13090866 ] 

James Howe commented on COUCHDB-1179:
-------------------------------------

doc_count: 5477
doc_del_count: 33856

> 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

        

[jira] [Commented] (COUCHDB-1179) erl.exe crash during view indexing

Posted by "Dave Cottlehuber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089739#comment-13089739 ] 

Dave Cottlehuber commented on COUCHDB-1179:
-------------------------------------------

Can you re-test using a newer version of Erlang/OTP please? For example https://github.com/downloads/dch/couchdb/setup-couchdb-1.1.0+COUCHDB-1152_otp_R14B03.exe

> 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

        

[jira] [Resolved] (COUCHDB-1179) erl.exe crash during view indexing

Posted by "Dave Cottlehuber (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Cottlehuber resolved COUCHDB-1179.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

Resolved via COUCHDB-1258.
                
> 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
>            Assignee: Dave Cottlehuber
>             Fix For: 1.2
>
>
> 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.
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

        

[jira] [Assigned] (COUCHDB-1179) erl.exe crash during view indexing

Posted by "Dave Cottlehuber (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Cottlehuber reassigned COUCHDB-1179:
-----------------------------------------

    Assignee: Dave Cottlehuber
    
> 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
>            Assignee: Dave Cottlehuber
>
> 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.
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

        

[jira] [Commented] (COUCHDB-1179) erl.exe crash during view indexing

Posted by "James Howe (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198705#comment-13198705 ] 

James Howe commented on COUCHDB-1179:
-------------------------------------

Deleted, cleaned-up, added and indexed all the views again - no crashes (last time I did this on 1.1 it went down twice).

doc_count: 5287
doc_del_count: 196818

                
> 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
>            Assignee: Dave Cottlehuber
>
> 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.
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

        

[jira] [Updated] (COUCHDB-1179) erl.exe crash during view indexing

Posted by "James Howe (JIRA)" <ji...@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

        

[jira] [Commented] (COUCHDB-1179) erl.exe crash during view indexing

Posted by "James Cohen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089652#comment-13089652 ] 

James Cohen commented on COUCHDB-1179:
--------------------------------------

Do you have any details on the database that's causing these problems. My similar ticket COUCHDB-1258 has a db with a high delete count, wondering if your db is similar.

> 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