Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1179

erl.exe crash during view indexing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.2, 1.1
    • Fix Version/s: 1.2
    • Component/s: JavaScript View Server
    • Labels:
      None
    • Environment:

      Windows XP, 32-bit

    • Skill Level:
      Dont Know

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dch Dave Cottlehuber
                Reporter:
                jameshowe James Howe
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: