# Ghost ends up using all 1GB memory of my VPS

**URL:** <https://forum.ghost.org/t/ghost-ends-up-using-all-1gb-memory-of-my-vps/23174>\
**Category:** Developer help\
**Created:** [June 1, 2021, 4:44pm UTC](https://forum.ghost.org/t/ghost-ends-up-using-all-1gb-memory-of-my-vps/23174 "2021-06-01T16:44:37Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [August 23, 2021, 6:45am UTC](https://forum.ghost.org/t/ghost-ends-up-using-all-1gb-memory-of-my-vps/23174/8 "2021-08-23T06:45:35Z")

</div>

Your `htop` output is showing a lot of Ghost processes, how many sites are you running?

Do you perform a lot of image uploads? Some Linux memory managers have issues freeing memory in that case

> [@Ghost Memory Consumption](https://forum.ghost.org/t/ghost-memory-consumption/8350/3):
>
> @dsecareanu are you able to correlate the memory usage with sites that receive a lot of image uploads? We’re aware that in certain situations the default memory allocator in Ubuntu can have issues where memory used by the image processor is not freed back to the OS. This can be resolved by using jemalloc as the memory allocator. For reference we see typical memory usage for reasonably sized sites sitting at ~180-200MB. For very large sites (10s-100s of thousands of posts/tags) this can obvious…

---

_[View the full topic](https://forum.ghost.org/t/ghost-ends-up-using-all-1gb-memory-of-my-vps/23174)._
