Coder Social home page Coder Social logo

Comments (3)

PhamHuyThien avatar PhamHuyThien commented on August 24, 2024

https://github.com/PhamHuyThien/investing-com-api-v2

I forked the project and upgraded to version V2.0
Fix error: RAM memory overflow

from investing-com-api.

DavideViolante avatar DavideViolante commented on August 24, 2024

Hello, can you elaborate more how did you fix your problem, for future users? Is there a memory leak in my repo?

from investing-com-api.

PhamHuyThien avatar PhamHuyThien commented on August 24, 2024

Hello, can you elaborate more how did you fix your problem, for future users? Is there a memory leak in my repo?

Hello author,

Not receiving a response from you, I think I have to solve this problem myself.
According to my investigation, closing the browser every time the API is called causes a big problem, sometimes 'puppeteer' cannot close itself (when making multiple calls in a row) the chromium windows stay active, stopping the project also does not solve the problem
The way I solved it is instead of starting puppeteer continuously I just open a browser and open multiple tabs and end it each time I'm done working.
I tested opening/closing 200 tabs continuously for 3 hours, the number of suspended tabs was very small (+-5 tabs).

Use my version 2 or upgrade your project, better experience.

End :)

from investing-com-api.

Related Issues (18)

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.