FLAG icon indicating copy to clipboard operation
FLAG copied to clipboard

RuntimeError: [enforce fail at CPUAllocator.cpp:71]

Open xo28 opened this issue 3 years ago • 1 comments

Hi!

When I try to run main.py in ogbn-products, I get this error: RuntimeError: [enforce fail at CPUAllocator.cpp:71] . DefaultCPUAllocator: can't allocate memory: you tried to allocate 64597662208 bytes. Error code 12 (Cannot allocate memory)

This error occurs in the test function model.to(cpu). It requires about 60GB memory. Is it necessary to have 64GB RAM? How can I run this if I don't have such big RAM? Thanks!

xo28 avatar Sep 17 '21 07:09 xo28

Sorry for the late reply. The experiments were on DeeperGCN, right? If so I believe the DeeperGCN experiments do need a large amount of memory. On my end I don't know how to tackle that. Thanks.

devnkong avatar Sep 23 '21 03:09 devnkong