Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-10191

CouchDB crashed due to 'Cannot allocate 467078560 bytes of memory (of type "heap").'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Critical
    • 3.0
    • 2.5.0
    • view-engine
    • Security Level: Public
    • Build 2.5.0-1059 (GA)

      Platform = Physical
      OS = Windows Server 2012
      CPU = Intel Xeon E5-2630
      Memory = 64 GB
      Disk = 2 x SSD

    Description

      Looks like couchdb crashed when running pretty moderate workload on Windows.

      In diags I can see:

      Crash dump was written to: erl_crash.dump
      eheap_alloc: Cannot allocate 467078560 bytes of memory (of type "heap").

      CouchbDB log:

      [couchdb:error,2014-02-12T9:08:36.215,ns_1@172.23.96.28:<0.707.0>:couch_log:error:42]Uncaught error in HTTP request: {error,
      {badmatch,
      {unexpected_binary,

      {at,1084407810}

      ,

      {wanted_bytes,1634348651}

      ,
      {got,8398547,
      <<54,32,56,55,53,97,99,50,153,0,32,56,
      0,3,31,239,9,0,0,23,215,213,254,77,2,

      ...crazy sequence of numbers...

      254,77,2,40,0,0,0,0,0,0,0,0,0,0,0>>}}}}

      Stacktrace: [

      {couch_btree,get_node,2}

      ,

      {couch_btree,stream_node,8}

      ,

      {couch_btree,fold,4}

      ,

      {couch_set_view,do_fold,5}

      ,

      {couch_view_merger,simple_set_view_map_query,4}

      ,

      {couch_view_merger,simple_set_view_query,3}

      ,

      {couch_httpd,handle_request,6}

      ,

      {mochiweb_http,headers,5}

      ]

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              pavelpaulau Pavel Paulau (Inactive)
              pavelpaulau Pavel Paulau (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty