# CUDA out of memory. Tried to allocate 98.00 MiB (GPU 0; 15.90 GiB total capacity; 14.80 GiB already allocated; 47.88 MiB free; 15.16 GiB reserved in total by PyTorch)

**URL:** <https://discuss.pytorch.org/t/cuda-out-of-memory-tried-to-allocate-98-00-mib-gpu-0-15-90-gib-total-capacity-14-80-gib-already-allocated-47-88-mib-free-15-16-gib-reserved-in-total-by-pytorch/80716>\
**Category:** Uncategorized\
**Created:** [May 11, 2020, 3:19pm UTC](https://discuss.pytorch.org/t/cuda-out-of-memory-tried-to-allocate-98-00-mib-gpu-0-15-90-gib-total-capacity-14-80-gib-already-allocated-47-88-mib-free-15-16-gib-reserved-in-total-by-pytorch/80716 "2020-05-11T15:19:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![albanD](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/alband/32/215_2.png) [@albanD](https://discuss.pytorch.org/u/albanD)\
**Post date:** [May 12, 2020, 3:43pm UTC](https://discuss.pytorch.org/t/cuda-out-of-memory-tried-to-allocate-98-00-mib-gpu-0-15-90-gib-total-capacity-14-80-gib-already-allocated-47-88-mib-free-15-16-gib-reserved-in-total-by-pytorch/80716/3 "2020-05-12T15:43:46Z")

</div>

Hi,

Not much, that’s why I did not answer anything 😕  
You can check this related post for potential solutions: [How can you train your model on large batches when your GPUs can only hold couple of batches](https://discuss.pytorch.org/t/how-can-you-train-your-model-on-large-batches-when-your-gpus-can-only-hold-couple-of-batches/80696)

---

_[View the full topic](https://discuss.pytorch.org/t/cuda-out-of-memory-tried-to-allocate-98-00-mib-gpu-0-15-90-gib-total-capacity-14-80-gib-already-allocated-47-88-mib-free-15-16-gib-reserved-in-total-by-pytorch/80716)._
