Skip to content
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

-bash: fork: Cannot allocate memory #29

Open
nishanth-vimalesh opened this issue May 1, 2019 · 1 comment
Open

-bash: fork: Cannot allocate memory #29

nishanth-vimalesh opened this issue May 1, 2019 · 1 comment

Comments

@nishanth-vimalesh
Copy link

Thanks for the repo

On trying to evaluate the model using python main.py --expName "gqaExperiment" --finalTest --testedNum 1000 --netLength 4 -r --submission --getPreds @configs/gqa/gqa.txt, it always seems to stop preprocessing at 64% and gives the error -bash: fork: Cannot allocate memory

Does this have something to do with having only 16 GB of RAM or would this be because of some other issue?

Thanks

@dorarad
Copy link
Collaborator

dorarad commented May 1, 2019

Thanks a lot for the interest in the repo! I haven't tested recently the memory consumption, but yep I'm pretty sure it needs more RAM. It should be very possible to change the code a bit to avoid that (because right now it holds all the questions in memory instead of re-reading them e.g. from some h5 file) will be happy to do it when I get the chance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants