Title: RAM issue
Last modified: September 8, 2022

---

# RAM issue

 *  Resolved [timgood85](https://wordpress.org/support/users/timgood85/)
 * (@timgood85)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/ram-issue-2/)
 * Hi, is there a way to limit the RAM that the plugin uses while compressing images?
   It’s crippling my VPS, as I have thousands of images to get through.
 * Cheers

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

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/ram-issue-2/#post-15993190)
 * [@timgood85](https://wordpress.org/support/users/timgood85/) Could you please
   ask your host to increase `max_execution_time` and `memory_limit` values in php.
   ini file and check if it helps to fix the issue?
 *  Thread Starter [timgood85](https://wordpress.org/support/users/timgood85/)
 * (@timgood85)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/ram-issue-2/#post-15994141)
 * Hi Harshad,
 * I currently have the below settings, is this below recommended?
 * max_execution_time 300
    memory_limit 1024
 * Cheers,
 * Tim.
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/ram-issue-2/#post-15996641)
 * [@timgood85](https://wordpress.org/support/users/timgood85/) Could you please
   increase max_execution_time to 900 secs?
 *  Thread Starter [timgood85](https://wordpress.org/support/users/timgood85/)
 * (@timgood85)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/ram-issue-2/#post-16000583)
 * Hi,
 * My server configuration will not allow over 300.
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/ram-issue-2/#post-16003477)
 * [@timgood85](https://wordpress.org/support/users/timgood85/) Have you performed
   a conflict test yet?
 * Try deactivating all plugins except for WP-Optimize and see if it is resolved.
 * If so, reactivate each plugin one at a time until you find the culprit. You can
   check for the issue between activating each plugin, so you can see which one 
   is causing problems.
 * Please let us know your findings.

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

The topic ‘RAM issue’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/ram-issue-2/#post-16003477)
 * Status: resolved