You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
The text was updated successfully, but these errors were encountered:
LefterisJP
changed the title
Try to provide better error messages when user is out of memory
Try to provide better error messages when user's machine is out of memory
May 14, 2015
It's not returning error codes since we assume that all of these cases are fatal and really bad. There is only one error code. Null pointer for failure. But now there is at least a string printed with a critical error message in each failing case.
The string could somehow be written in a buffer and returned so that each implementation can choose how to show it to the user but that would require an API change.
Memory mapped file will not gracefully provide an error if the user's machine runs out of memory. It will cause a BUS error.
See ethereum/aleth#806 (comment)
The text was updated successfully, but these errors were encountered: