# Possible Memory Leak on CPU

**URL:** <https://discuss.pytorch.org/t/possible-memory-leak-on-cpu/49559>\
**Category:** vision\
**Created:** [July 3, 2019, 6:09am UTC](https://discuss.pytorch.org/t/possible-memory-leak-on-cpu/49559 "2019-07-03T06:09:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ptrblck](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/32/1823_2.png) [@ptrblck](https://discuss.pytorch.org/u/ptrblck)\
**Post date:** [July 3, 2019, 2:30pm UTC](https://discuss.pytorch.org/t/possible-memory-leak-on-cpu/49559/2 "2019-07-03T14:30:27Z")

</div>

Thanks for the code!  
I could reproduce this behavior and the memory usage is growing ~1GB each epoch on my machine.  
I’ll take a closer look at it.

---

_[View the full topic](https://discuss.pytorch.org/t/possible-memory-leak-on-cpu/49559)._
