# How do I debug this?

**URL:** <https://forum.elixirforum.com/t/how-do-i-debug-this/57656>\
**Category:** Questions\
**Tags:** phoenix, out-of-memory\
**Created:** [August 15, 2023, 10:05am UTC](https://forum.elixirforum.com/t/how-do-i-debug-this/57656 "2023-08-15T10:05:17Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![D4no0](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/d4no0/32/33624_2.png) [@D4no0](https://forum.elixirforum.com/u/D4no0)\
**Post date:** [August 15, 2023, 2:07pm UTC](https://forum.elixirforum.com/t/how-do-i-debug-this/57656/8 "2023-08-15T14:07:25Z")

</div>

Optimizing ram usage is usually not worth the effort, this is a compromise GC languages have.

There is one thing when ram usage spikes happen and another when there is memory leaking, and judging by your description, you most probably have a spike.

For the record, what are the specs of your machine?

---

_[View the full topic](https://forum.elixirforum.com/t/how-do-i-debug-this/57656)._
