Giter Site home page Giter Site logo

Memory Issue about couchdb-lucene HOT 7 CLOSED

rnewson avatar rnewson commented on May 27, 2024
Memory Issue

from couchdb-lucene.

Comments (7)

rnewson avatar rnewson commented on May 27, 2024

Ok. I'll run a longer test with a profiler. It might be the jdk's default gc settings, in which case I'll document better settings, or a leak in my code (or rhino's?).

from couchdb-lucene.

ramarnat avatar ramarnat commented on May 27, 2024

possibly rhino's - The view is relatively big. If you'd like I can give you a copy of the database, it is public data, so no worries.

from couchdb-lucene.

rnewson avatar rnewson commented on May 27, 2024

If it's rhino, I should find it quickly.

from couchdb-lucene.

rnewson avatar rnewson commented on May 27, 2024

I can reproduce this in a unit test now (it takes quite a while, though), I'm profiling now.

from couchdb-lucene.

rnewson avatar rnewson commented on May 27, 2024

Ah, spoke too soon. The memory leak was in my test code :). So, I've completed an indexing process up to 100 million documents, memory consumption was flat.

Setting couchdb.lucene.ram to a very high number (like 512) might be a problem. The default is 16, so try that instead?

from couchdb-lucene.

ramarnat avatar ramarnat commented on May 27, 2024

I will try that. You can profile the run on our database - here is a link to download a copy: http://bit.ly/f7JPx

from couchdb-lucene.

rnewson avatar rnewson commented on May 27, 2024

user tested with new defaults, seems fine now.

from couchdb-lucene.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.