Title: maxmemory Limit
Last modified: March 16, 2023

---

# maxmemory Limit

 *  Resolved [androjungle](https://wordpress.org/support/users/prashanthvarma42343/)
 * (@prashanthvarma42343)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/maxmemory-limit/)
 * > **Should I choose “unlimited” (maxmemory 0), to be on the safe side?**
   > i have 4GB VPS Hosing Plan, What memory limit is good for me.
   > iam also using **maxmemory-policy allkeys-lru** policy

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

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/maxmemory-limit/#post-16566989)
 * How much memory you assign the Redis depends on the size of your WordPress dataset.
 *  Thread Starter [androjungle](https://wordpress.org/support/users/prashanthvarma42343/)
 * (@prashanthvarma42343)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/maxmemory-limit/#post-16567115)
 * hi Till Krüss i am using **4GB VPS Hosing Plan** and my wordpress dataset size
   is **4.7GB**. Can you please help me with the memory size i should use
    -  This reply was modified 3 years, 2 months ago by [androjungle](https://wordpress.org/support/users/prashanthvarma42343/).
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/maxmemory-limit/#post-16568818)
 * I can only help with Redis Object Cache, not with Redis Server maintenance. I’d
   suggest asking on Stack overflow.
 *  Thread Starter [androjungle](https://wordpress.org/support/users/prashanthvarma42343/)
 * (@prashanthvarma42343)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/maxmemory-limit/#post-16569084)
 * iam not getting proper answers, as you are well known dev for over 20 years of
   experience its not a issue for you to answer my simple question, i would take
   your preference as high priority. that is the reason i eagerly waiting for your
   answers. i have also send you a mail regarding same topic. i know this is a Redis
   Object Cache support. iam asking you based on the experience you have.
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/maxmemory-limit/#post-16569116)
 * Redis Server runs best when it has enough memory to hold your entire object cache
   dataset.

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

The topic ‘maxmemory Limit’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/maxmemory-limit/#post-16569116)
 * Status: resolved