-
Notifications
You must be signed in to change notification settings - Fork 2k
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
report out-of-memory usefully #1498
Comments
Related: #1083 |
Example of frustrated user who would be helped by fixing this issue: https://ravibhojwani.wordpress.com/digital-ecomony/ |
8GB of RAM? I was able to compile with less as far as I remember. |
@ioptio I think this ticket refers to runtime, not build-time. |
Oh... I get a different error message which is documented on Beta Guide when I run out of RAM on run-time: Ok, sorry. I was directed at this topic with reference to compiling memory problems but that outputs a different error. Confirming that I see the following when my node runs out of memory: |
Terminate immediately when allocation fails Backport of bitcoin/bitcoin#9856 Closes #1498.
A very frequent issue among our users currently is that they run out of RAM, get a mysterious error message like
St13runtime_exception
, and start asking on our community channels for help.To close this ticket, make it so at startup it tries to allocate 8 GB of RAM (or whatever), and write to it, and if it can't, then it emits a useful error message that explains to the user "You appear to have too little RAM to run this. We need at least 8 GB of RAM."
Then free the RAM. (Don't worry, the operating system won't let any other processes use it anyway, and later in this process when it tries to allocate that much again, it will work.)
The text was updated successfully, but these errors were encountered: