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

too much memory (and cpu) consumption when building large spatial index (was: spatial indexer leaks ram by not destroying mapreduce contexts)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.1.0
    • 2.0
    • view-engine
    • Security Level: Public
    • None

    Description

      I.e. when trying to reproduce other bug I tried creating ddoc with just view and running it on about 700k docs and my node just died. It is perfectly reproducible, especially on i386 where address space is more limited.

      beam.smp dies by abort in V8 and message looks like this:

      #

      1. Fatal error in v8::ObjectTemplate::New()
      2. V8 is no longer usable
        #

      And by googling it appears that this may happen when running out of memory. We've also seen lots of threads in core dumps and our suspicion that mapreduce contexts are leaked was confirmed by grepping geocouch code.

      Attachments

        For Gerrit Dashboard: MB-7406
        # Subject Branch Project Status CR V

        Activity

          People

            shashank Shashank Gupta
            alkondratenko Aleksey Kondratenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty