-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Getting JavaScript memory leak error #192
Comments
can confirm <--- Last few GCs ---> [12880:0000019DFD18BC20] 3530069 ms: Mark-sweep 2046.1 (2061.7) -> 2044.7 (2060.3) MB, 39.7 / 0.0 ms (+ 0.0 ms in 1 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 40 ms) (average mu = 0.150, current mu = 0.018) finali[12880:0000019DFD18BC20] 3530111 ms: Mark-sweep 2045.7 (2061.3) -> 2045.6 (2062.3) MB, 40.6 / 0.0 ms (average mu = 0.105, current mu = 0.050) allocation failure scavenge might not succeed <--- JS stacktrace ---> ==== JS stack trace =========================================
Security context: 0x009739000921 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory |
What commit are you guys on? This problem I believe was solved, but may have been wiped. |
Wow, could've sworn I was up to date but I'm 36 commits behind 🤡 |
Gonna close for now unless this continues to be a problem on latest Thanks! |
I still get OOM on fd294d2; I’m using low bandwidth mode (mentioning since previously ad blocker seems to have been an issue). Can open a new issue if you’d like. I work around it by configuring the container to restart on failure, but obviously that’s not ideal. |
I'm also getting OOM from time to time. Have to look more into it. Probably some pages not closing overtime. |
I, too, am on the latest commit, am using low bandwidth mode, and got the exact error above. |
Yeah, definitely an issue. Probably something not getting closed. I'll look into it more. |
Been running into this issue recently. Happens around 20-ish hours after I start the script. I attached are the logs and my current configuration. |
@EchoJoker I updated your comment and remove the log, as it contained personal information. Thanks for the log though and will look into it! |
@jef It did? I thought I modified all of that out. Eh oh well, hopefully, it helps. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Is this still an issue? |
Thanks for looking into that. What program are you using by the way? Perhaps I can do a trace of objects that are getting kept in store. Thanks! |
The memory usage graph comes from the hypervisor (Proxmox Linux) that the Ubuntu Server VM with streetmerchant is running on - I'm running streetmerchant without docker, so just the |
This is interesting. If you find something, I'd love to know! Thanks for keeping this updated. |
Come to think of it, I did have an internet outage for a while a few days ago, it could coincide with streetmerchant getting stuck in Limbo - I'll keep you updated when I find time to investigate. |
No rush, I don't see this happening too often. |
Looked into it a bit, unfortunately it seems I can't get the terminal output back and it seems that whatever crashed/softlocked the program also stopped it from writing a log file (the newest log file is from 2021-01-06, which was when I failed at starting streetmerchant for further investigation) Can't get it to run now on the newest commit - something about downlevelIteration compiler flag not being set, managed to fix that with adding that in the tsconfig.json (new issue? could be just on my end, just had to update npm and some stuff, could be something broke), however there's another issue where it can't read a file (tsconfig-google.json) and since my time is still kinda limited I can't check that out further. Will keep you posted if something develops |
Description
Possible solution
The text was updated successfully, but these errors were encountered: