Comments (3)
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.
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.
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)
- The response is undefined HOT 6
- I am unable to get results HOT 8
- Accessing historical data directly (error)
- APIs changes
- Add some missing indices
- Please make an API guide doc HOT 3
- Is item[1] the correct value to return as default value? HOT 1
- Add 2 more parameters about the volumes
- Where is the header? HOT 2
- Request failed with status code 403 HOT 8
- Add all missing data HOT 3
- Fix tests on v4
- Add Playwright (the successor of Puppeteer) in addition to Puppeteer HOT 5
- Add market calendar data HOT 1
- Need solution for manual input pairId if fetch item not exists in mapping.js HOT 2
- Need a solution to bypass args for launch pupperteer HOT 4
- Add parameter to specify Puppeteer launch options for use in Docker HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from investing-com-api.