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

RuntimeError: [enforce fail at CPUAllocator.cpp:64] . DefaultCPUAllocator: can't allocate memory: you tried to allocate 34080768 bytes. Error code 12 (Cannot allocate memory) #35

Open
skanel opened this issue Nov 23, 2019 · 3 comments

Comments

@skanel
Copy link

skanel commented Nov 23, 2019

WHEN RUN ON AWS EC2

RuntimeError: [enforce fail at CPUAllocator.cpp:64] . DefaultCPUAllocator: can't allocate memory: you tried to allocate 34080768 bytes. Error code 12 (Cannot allocate memory)

@abubakar-ucr
Copy link

I am also having the same issue.

@skanel
Copy link
Author

skanel commented Dec 29, 2019

I can solved this issue by increase the memory in aws. but be careful of AWS price charging.
In order to extend the volume size. you can follow this tutorial:
https://medium.com/findworka/how-to-increase-disk-size-for-an-ec2-instance-on-aws-b82181df6215

PLEASE BE CAREFUL AWS 's PRICING WHEN YOU DECIDED TO INCREASE

@amurumanasa
Copy link

@abubakar-ucr have you solved the cpu allocator error?

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