Git Product home page Git Product logo

Comments (6)

janisz avatar janisz commented on May 15, 2024 2

Looks like golang #1670 was solved!

from bigcache.

druminski avatar druminski commented on May 15, 2024 1

Hi,

This issue is directly related with map implementation in go. I created a ticket for it on a go lang issue tracker. I don't know when it will be fixed, but I will try to take a look on map implementation in a free time, maybe I will be able to propose some solution.

from bigcache.

janisz avatar janisz commented on May 15, 2024

Hi @Freeaqingme

Thanks for submitting issue. At the first glance it looks weird. bigcache keeps one big array where all entries are stored. But we doesn't monitor size of internal map containing offset. Another thing that could make application eating so much memory is GC not freeing it — could you post your GC settings and GC log.

I hope I can create Minimal, Complete, and Verifiable example and debug this problem. If you already have it please share.

EDIT: I think good start is to extend caches_gc_overhead_comparsion.go compare memory footprint.

from bigcache.

janisz avatar janisz commented on May 15, 2024

I'm sorry for the delay. I think I was able to reproduce issue with this code

from bigcache.

Freeaqingme avatar Freeaqingme commented on May 15, 2024

I'm sorry for the delay as well. It's still on my list, but had some more urgent things coming up first. Having said that, if you're able to reproduce it then at least we have got the first step towards fixing it :)

from bigcache.

druminski avatar druminski commented on May 15, 2024

I am closing the issue as there is nothing to do in bigcache to solve it. There was presented a fix for golang map in a ticket which I created. It will be probably released in go version 1.8

from bigcache.

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.