Coder Social home page Coder Social logo

Comments (7)

iamriajul avatar iamriajul commented on July 18, 2024 1

@pkruithof which version of Meilisearch? There's a memory leak issue with 1.8 and up. So I'm using 1.7.6 now instead.

from meilisearch.

Kerollmops avatar Kerollmops commented on July 18, 2024 1

Hey @pkruithof 👋

@iamriajul is right there is a leak in v1.8.0 and v1.8.1. We are investigating in this Discord channel and on this GitHub issue. At this point we think we have found the root cause and are deploying a fix soon.

Sorry for the inconvenience 😞

from meilisearch.

curquiza avatar curquiza commented on July 18, 2024 1

v1.8.3 with the fix has been released @iamriajul

from meilisearch.

iamriajul avatar iamriajul commented on July 18, 2024

An open issue regarding this in the sysinfo repo: GuillaumeGomez/sysinfo#207

from meilisearch.

curquiza avatar curquiza commented on July 18, 2024

Hello @iamriajul

Thanks for the report. This is indeed an issue we know

For example when using K8s, by default Meilisearch uses

  • the RAM of the node
  • the CPU of the pod

The workaround is indeed to set your limit manually.

from meilisearch.

pkruithof avatar pkruithof commented on July 18, 2024

@curquiza

The workaround is indeed to set your limit manually.

I was going to report an issue, but I found this comment so I'm asking it here instead: we're trying out Meilisearch in our K8S cluster, and found that it kept on increasing memory usage over time. Up to the point it gets restarted by K8S. We've set the MEILI_MAX_INDEXING_MEMORY environment variable to 1300Mb (the memory resources are set to 1000Mi/1.95Gi), but it still shows a sawtooth graph:

Screenshot 2024-06-19 at 09 17 14

The --help output shows that it's picking up the variable at least:

      --max-indexing-memory <MAX_INDEXING_MEMORY>
          Sets the maximum amount of RAM Meilisearch can use when indexing. By default, Meilisearch uses no more than two thirds of available memory
          
          [env: MEILI_MAX_INDEXING_MEMORY=1300Mb]
          [default: "10.42 GiB"]

I would have expected the line to drop — or at least stabilise — around the 1.4G mark. Is this not working correctly, or are we doing something wrong here?

from meilisearch.

pkruithof avatar pkruithof commented on July 18, 2024

Ah, I didn't know that. We're using version 1.8 indeed. Do you have more information about the leak and if/when it's fixed? Maybe we'll have to downgrade for now as well.

from meilisearch.

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.