Hi,
What is your PHP version?
Thread Starter
osckar
(@osckar)
Hi:
PHP 5.4.27
I have increased the memory limit from 64 to 128 to see if the errors go away. But I guess the plugin is consuming too much memory :/
Can you try this and let me know what it says?
1. Install the WP Page Load Stats plugin.
2. Load a page without Fetch Tweets and copy the output of WP Page Load Stats.
3. Insert the shortcode of Fetch Tweets into the same page and load the page. Copy the output of WP Page Load Stats.
Thank you.
Thread Starter
osckar
(@osckar)
Hi:
without shortcode:
162 queries in 2,449 seconds.
Average load time of 2.3333 (3 runs).
58.46 out of 40 MB (146%) memory used.
Peak memory usage 58.71 MB.
with shortcode:
164 queries in 1,143 seconds.
Average load time of 1.8 (5 runs).
60.91 out of 40 MB (152%) memory used.
Peak memory usage 65.07 MB.
Hi,
So the plugins uses the memory of 2.45MB and 6.36MB at the peak. It is not that too large I think.
In your case, the site already uses 58.71MB at most, which is fairly close to 64MB, which was the limit of your site. Then Fetch Tweets added 6.36MB on top of it thus caused the memory exhaustion fatal error.
You said you’ve increased the memory limit. I’d say that’s the best move you can take at the moment.
If you have a suggestion on how the code of the plugin can improve to save the memory consumption, let me know. For discussions that involve technical details, you may post an issue on the GitHub issue tracker.
Thank you!