-
Notifications
You must be signed in to change notification settings - Fork 78
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
Improve out-of-memory error during fasm generation (seen in nexys_video counter_test example) #119
Comments
@litghost - Ideas? |
Makefiles do have a remove file on failure option? |
We need to add |
Link to relevant documentation: https://www.gnu.org/software/make/manual/html_node/Errors.html#Errors
|
@litghost , yep, that works. I'll open a PR with the change. I could also add a message on failure, "If you see 'Killed...' above, the process may have been unable to allocate sufficient memory". |
Signed-off-by: Tim Callahan <tcal@google.com>
Add .DELETE_ON_ERROR to Makefiles (issue #119).
Just as an FYI, I run into this same issue in yosys when running very large designs and I have another memory intensive application open in the background. It would be helpful to add some warning there as well. |
@kgugala @mithro I'd like to add this to the cleanup list. It still dies with just "Error 137", no mention of out-of-memory. This is running the counter example; I have 11GB free but it's not enough:
|
My laptop has 10GB available according to /proc/meminfo. I see this error running the
counter_test
example withTARGET=nexys_video
:The file
build/nexyx_video/top.fasm
is left behind. Is it partially written? If I run themake
command again,top.bit
is generated fromtop.fasm
. Is the top.bit file correct?I have two concerns here:
make
will use it and possibly write an incorrect top.bit file.Note: If I close other applications to get 15GM of available memory, the flow completes without error, although I haven't had a chance to test the generated bitstream on the Nexys Video board yet.
The text was updated successfully, but these errors were encountered: