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

Javascript view on big dataset crashes couchjs?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.8
    • JavaScript View Server
    • None

    Description

      What steps will reproduce the problem?

      Not entirely sure. I have been doing some testing with CouchDB, essentially
      downloading messages from twitter for a few days and dumping them in a
      database. I would attach the DB file, but it's like 120MB big. Then when I
      run a simple view on it, even the simple:
      function(doc) {
      map(null, doc);
      }

      I get to see the following messages in the server log. Sometimes it works
      though, so it seems kind of arbitrary:


      [error] [emulator] Error in process <0.2776.1> with exit value:
      {{nocatch,{map_process_error,

      {exit_status,0}}},[{couch_query_servers,readline,2},{couch_query_servers,read_json,1},{couch_query_servers,'-map_docs/2-fun-0-',2},{lists,map,2},{lists,map,2},{couch_query_servers,map_docs...


      =ERROR REPORT==== 7-Mar-2008::15:45:48 ===
      Error in process <0.2776.1> with exit value:
      {{nocatch,{map_process_error,{exit_status,0}

      }},[

      {couch_query_servers,readline,2}

      ,

      {couch_query_servers,read_json,1}

      ,

      {couch_query_servers,'-map_docs/2-fun-0-',2}

      ,

      {lists,map,2},{lists,map,2}

      ,{couch_query_servers,map_docs...

      [info] [<0.2775.1>] HTTP Error (code 500): {obj,[

      {error,"map_process_error"}

      ,
      {reason,"

      {exit_status,0}

      "}]}
      [info] [<0.2775.1>] HTTP Response Code:500


      What version of the product are you using? On what operating system?

      This only occurs on the subversion trunk build on Ubuntu Linux 7.10. On the
      current release version it works fine.

      Please provide any additional information below.

      If you want the .couch files with which this happens, let me know.

      Okay, can you make the DB file available somehow and send me a link to it to cmlenz at gmx.de? I think it
      should compress fairly well BTW.

      Attachments

        1. issue25.diff
          0.9 kB
          Christopher Lenz

        Activity

          People

            cmlenz Christopher Lenz
            nslater Naomi Slater
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: