mac-network icon indicating copy to clipboard operation
mac-network copied to clipboard

-bash: fork: Cannot allocate memory

Open nishanth-vimalesh opened this issue 5 years ago • 1 comments

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

nishanth-vimalesh avatar May 01 '19 05:05 nishanth-vimalesh

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!

dorarad avatar May 01 '19 15:05 dorarad