Title: Memory limit
Last modified: March 17, 2024

---

# Memory limit

 *  [napisal](https://wordpress.org/support/users/napisal/)
 * (@napisal)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/memory-limit-20/)
 * Thank you for your plugin!
 * I have a shop on WooCommerce with 4-6 orders per day and your plugin installed.
 * I also have 1024 Mb memory limit on my memcached server and it goes up to that
   value in a week or so after serves is started. Then I get a warning email from
   my provider that the limit is reached and that the site might start working not
   as expected.
 * Is it true?
 * Do I have to limit the usage of memcached on my WordPress site? If yes, how can
   I do that?
 * Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [Dion Hulse](https://wordpress.org/support/users/dd32/)
 * (@dd32)
 * Meta Developer
 * [2 years, 4 months ago](https://wordpress.org/support/topic/memory-limit-20/#post-17534317)
 * Hi,
 * This isn’t specifically related to the memcache plugin, but rather what the rest
   of your site is using the cache for.
 * Memcache by default garbage-collects data when the memory fills up, removing 
   lesser-used items so that more frequent accessed data can be retained in memory.
 * The vast majority of WordPress sites (Even WooCommerce, etc) would never need
   1024M in a memcache instance, generally 100MB or so would be more than enough.
 * But to answer the question: No; If the memory cache fills up, old items that 
   are not being used or are expired will be removed by the memcache server (_not
   by this plugin_) such that newer items can be stored.
 *  Thread Starter [napisal](https://wordpress.org/support/users/napisal/)
 * (@napisal)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/memory-limit-20/#post-17537758)
 * Thank you for the detailed reply.
 * Since generally 100MB is more than enough and my site uses more than 1000MB, 
   something seems to be wrong. Could you please tell if I need to either make some
   improvements in WordPress configuration or contact my hosting provider to ask
   them to make some tweaks in memcached server?
 * Thanks again!
 *  Thread Starter [napisal](https://wordpress.org/support/users/napisal/)
 * (@napisal)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/memory-limit-20/#post-17869047)
 * Would be grateful for your reply. Thank you! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Memory limit’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memcached.svg)
 * [Memcached Object Cache](https://wordpress.org/plugins/memcached/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memcached/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memcached/)
 * [Active Topics](https://wordpress.org/support/plugin/memcached/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memcached/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memcached/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [napisal](https://wordpress.org/support/users/napisal/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/memory-limit-20/#post-17869047)
 * Status: not resolved