AWS EC2 p2.xlarge 应该有 61GiB 内存,但我的代码 运行 内存不足大约 11GB

AWS EC2 p2.xlarge should have 61GiB memory but my code run out of RAM at about 11GB

在终端中我发现了这样的错误:

I tensorflow/core/common_runtime/bfc_allocator.cc:702] Stats: 
Limit:                 11332668621
InUse:                 11332668416
MaxInUse:              11332668416
NumAllocs:                      13
MaxAllocSize:          11332445440

但是 p2.xlarge 实例应该有 61GiB 内存... 这里有什么问题?请帮忙!

来自New P2 Instance Type

对于 p2.xlarge 实例,主机内存61GBGPU 内存12GB,您已耗尽 GPU 内存。