-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High memory usage #467
Comments
1.5Gb sounds like quite a lot. We had a memory leak that was fixed in 2.2.3. see this issue: #426 |
@manast the memory grows over time in nodejs to 1.5Gb. The reason i want to go my code to latest version of bull is fix for #426. I tested with v2.2.4 and had the same results: ┌───────────┬────┬─────────┬───────┬────────┬─────────┬────────┬─────┬──────────┬──────────┐ also looking at PM2 logs i saw this one:
|
can you write a minimal piece of code that reproduces this so that I can check it locally? |
@manast it will try so as i am not expert in nodejs. One interesting thing, the issue appears on v6.10.0 nodejs. I installed v7 nodejs and i think the problem disappeared. |
@n3trino that is really strange actually... |
@manast did have a chance to see the memory heapshots? if so, did you figure out what wrong? |
I checked the snapshots but I could not get any valuable information. Best would be to get a minimal test case that reproduces the issue, so I can try to find where the root of the leak is. |
@manast i figure out that running my node app + bull in development environment it creates this high memory/cpu situation. In production environment it works like a charm. Is there anything special happening in Bull when it runs at development environment? |
There is nothing different that I am aware of, at least in bull's code. |
As far as I can see, there are no memory issues with latest version of bull (3.0.0). so I will close this issue for now. Reopen if needed. |
Hello i am using bull with node v6.9.1 and pm2 v.2.4.2. When i upgraded to latest bull version (2.2.3) i saw that memory usage went to 1.5Gb in a development server which most of the time is idle. I reverted bull to version 2.1.2 and the problem disappeared.
Can you please let me know what you need from my side to find out why this happens?
The text was updated successfully, but these errors were encountered: