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

DefaultCPUAllocator: not enough memory #45

Open
Omri-L opened this issue Mar 23, 2020 · 2 comments
Open

DefaultCPUAllocator: not enough memory #45

Omri-L opened this issue Mar 23, 2020 · 2 comments

Comments

@Omri-L
Copy link

Omri-L commented Mar 23, 2020

Hi,
I keep getting this memory error every once in a while when I run "joint_main" test with batch size =1. I thought that you might have advice for me to overcome that.

@backseason
Copy link
Owner

I have never met with this issue. But I guess this may relates to the memory size of you hardware.

@Adam-D-Lewis
Copy link

Adam-D-Lewis commented May 27, 2020

I believe I experienced a similar problem. I was running out of memory (used > 10GB) when running the following configuration:
--mode=test --model=results/run-1/models/final.pth --test_fold=results/run-1-sal-e --sal_mode=e --no-cuda --test_mode=1

I believe it is due to a memory leak in recent versions of pytorch (was using pytorch==1.3.1). I downgraded to pytorch==0.4.1, and the memory usage is stable now.

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

3 participants