Giter VIP home page Giter VIP logo

Comments (3)

ert78gb avatar ert78gb commented on July 3, 2024

My experience is to use 1 instance of google-cloud/pubsub per google project.
Technically the memory leak is in the google-cloud/pubsub package.
I haven't used this package for a while because I also use docker image setup and the container starts very slowly. So I use docker compose to start the container, delete and create the topics and subscriptions in the before/beforeEach section.

I decreased our test time drastically with this setup even if the test run serial instead of parallel.

I think I could optimise this library to use 1 google-cloud/pubsub instance per project, but I don't know your full setup so maybe it would not help you at the end of the day.

from google-pubsub-emulator.

jhai420 avatar jhai420 commented on July 3, 2024

@ert78gb Hey! Sorry - I closed this issue without seeing your comment. It did turn out to be a google-cloud/pubsub issue that didn't like versions >= 3.0.0 and <= 3.3.0. Once we upgraded to 3.5.0, the memory leak was resolved!

from google-pubsub-emulator.

ert78gb avatar ert78gb commented on July 3, 2024

Thx for the update

from google-pubsub-emulator.

Related Issues (7)

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.