The memory tag has no wiki summary.
7
votes
4answers
134 views
Is there a way to exclude the content from the post variable to save on RAM usage?
So, I've run into what looks like a WP RAM usage problem and am looking for a solution.
The only place I'm really having this problem on my site is with a Site Map page that I'm trying to populate, ...
0
votes
0answers
30 views
Fatal errors when Safe Mode is off
I have a site that throws fatal errors when Safe Mode is turned off. For example:
Fatal error: Allowed memory size of 262144 bytes exhausted (tried to
allocate 30720 bytes) in
...
5
votes
2answers
108 views
Wordpress variables and memory
When checking get_defined_vars() on an empty template file my theme loads over 70000 lines of output. Before even including elements on a page all of this is loaded.
Is this correct?
Is there any ...
0
votes
0answers
25 views
Memory Use in Custom Post Type, Listing All in Admin [closed]
I have a question regarding memory in listing posts.
When you click a tab "List All" logically it should not use a lot of memory. A simple query, a simple list. Yet I find 256 megabytes of memory is ...
0
votes
1answer
61 views
php.ini -Theme-specific settings
I'm testing a theme on a group of people. Its a microstock image selling theme. Very unique, so far, works great on most hosts.
However many people complain that that the image-processing script ...
0
votes
0answers
71 views
Fatal error: Allowed memory size of 37748736 bytes exhausted …, on larger offset query parameter
I hope this is not a duplicate question.
I have a custom .csv generator functions that basically export data from posts and its post metas.
The function works fine on this WP_query parameter:
...
0
votes
1answer
100 views
Adding define('WP_MEMORY_LIMIT', '64M'); by default?
Before installing a big plugin I'm always scared of the blank page so I usually add define('WP_MEMORY_LIMIT', '64M'); to wp-config.php beforehand. I was thinking I could add it immediately after any ...
0
votes
1answer
90 views
How to use WP_Query() on single.php?
I'm using WP_Query() to pull out a few posts under a specific category "Featured" to display at the bottom of any post.
So I added <?php if (function_exists('getEditorPicks')) ...
0
votes
1answer
53 views
wp_insert_post memory consumption
I'm using wp_insert_post in a loop to insert 500 posts in a new WP install. It works quickly, and memory usage is from 25M to 28M. The next run of a second batch of 500 posts, takes the memory from ...
1
vote
1answer
72 views
Memory usage for scalable usermeta queries
Problem
Some time ago I posted a question about the scalability of wp_usermeta architecture: my concern, as my client's database of users is growing fast, is now the memory usage of querying the ...
0
votes
1answer
133 views
Make WP_Query more efficient?
Ok - so using a WP_Query to count votes by a user. But now there are 23,000 votes and its using up lots of memory.
Is there a way i can make this WP_Query more efficient?
$args = array(
...
0
votes
1answer
41 views
Keeping Objects in Memory
I have built a WordPress plugin using classes. Each project class is created for a specific user. I want to do three things:
Keep the project object in memory for that user between his or her ...
0
votes
1answer
78 views
Memory issue only in dashboard
Though I've been using my website's dashboard the last few days without installing any plugin nor touching any piece of code, today my dashboard (but not my website) is unavailable with a message ...
0
votes
1answer
142 views
Wordpress Defined Memory Limit
Running a dedicated managed server with 2 GIGS of RAM. How much memory can I define in wp-config.php
Currently I have
define('WP_MEMORY_LIMIT', '256M');
I have a suspected plugin that resizes ...
0
votes
2answers
544 views
In big trouble - Allowed memory size of 268435456 bytes exhausted
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 81 bytes) in /home/public_html/hol/wp-includes/meta.php on line 571
I'm receiving this error when I try to log into ...
0
votes
3answers
86 views
PHP Memory Limit Question
I just moved to a dedicated server and I was wondering whether i need to do anything explicitly inside wordpress config files to increase the performance of the site, like setting an upper memory ...
1
vote
2answers
101 views
Best way to diagnose which plug-ins/theme uses the most memory?
I just upgraded one of my WP website from 3.1.4 to 3.4.2 but i immediately got a
Fatal error: Allowed memory size of
message.
So i added define('WP_MEMORY_LIMIT', '128M'); to wp-config.php, but ...
0
votes
1answer
139 views
Fatal error: allowed memory size when after using enqueue_script
I an trying to enqueue four script files and keep getting this error: Fatal error: Allowed memory size of 103809024 bytes exhausted ... wp-includes/class.wp-dependencies.php on line 175.
I used ...
0
votes
1answer
56 views
loop through all posts memory error
I have few thousands posts and need to list all of them in the admin. When I used WP_Query to get them all at once I got a memory error. Then I split it into several query calls and it worked just ...
0
votes
3answers
143 views
Allowed memory size exhausted. WordPress side solution
I'm getting a well known error from the question title. The problem is, website is running on a shared server and I don't have access to php.ini file.
I've set `php_value memory_limit' inside ...
1
vote
1answer
297 views
Do WP_debug notices explain why my site runs so slow?
When I enable WP_DEBUG, I get lots of the following kinds of notices (see below). Of course, I normally don't have the debugging turned on, but I'm wondering if these are a clue as to why it takes so ...
0
votes
1answer
220 views
Memory errors with media upload, Wordpress can't use more than 96M (while there's 512 available!)
I'm aware that this is a known problem but I was unable to address it using information found in WPAnswers and Wordpress support forums.
In my Worpdress single site installation the media uploader is ...
0
votes
2answers
533 views
How to decrease the max file upload size without using php.ini or htaccess?
There are a lot of people discussing how to increase the php max upload file size...
In my case though I want to shrink it from 8MB to 4MB... In my cpanel configuration, if I change the setting, it ...
0
votes
2answers
59 views
How effective are cacheing plugins for dynamic pages?
The majority of pages of one of my sites can only be accessed by registered users. While these pages do share some common, static content (headers, etc) most of the information on the page is ...
1
vote
2answers
254 views
Fatal error: Out of memory
i have a memory issue while NextgenGallery try to create the thumbnails.
Wp-Version is 3.4.1
Fatal error: Out of memory (allocated 29884416) (tried to allocate 2000 bytes) in
...
1
vote
2answers
121 views
Memory question on Wordpress Multisite
Im currently using WP-Memory-Usage plugin on my wordpress multisite network to monitor my memory usage. The memory usage displays 39.1 MByte. Does it mean 39.1 MByte per blog?
3
votes
2answers
371 views
WP_Query leaking absurd amounts of memory
Every time I call WP_Query() in the function below, Wordpress leaks 8 megs of memory. And since I call this function a lot, things get hairy pretty quickly... :( I've tried unsetting the resulting ...
0
votes
2answers
558 views
Blank page for edit.php
I get a blank page on /wp-admin/edit.php after change the number of post to display.
The bug is due to the PHP memory, but on my hosting I have no possibility to change this value.
How to reset the ...
0
votes
1answer
92 views
WordPress memory on 3.X
I'm using the WP_Overview plugin to view WordPress' memory limit.
It's showing Mem: WP 32M (def) Usage 25% 32.59M of PHP Limit 128M.
However, in my functions.php, I have the following line of code: ...
0
votes
1answer
357 views
Work-around for fatal memory error in BackupBuddy job to Dropbox on shared host?
I am trying to configure BackupBuddy to transfer a 250MB backup set to Dropbox on a shared host (DreamHost).
DreamHost runs a process monitor that automatically kills any process that exceeds a ...
0
votes
2answers
102 views
WordPress: Allowed Memory Size Exhausted - After Moving from Dev to Live [closed]
I keep getting this on my WordPress site after I moved it from my development server to the live site. It's happening in one file that is using a few functions which I think is causing it, but I don't ...
1
vote
2answers
279 views
Fatal error: Allowed memory size of 146800640 bytes exhausted (tried to allocate 57 bytes) in public_html/wp-includes/rewrite.php on line 1561
I dont know how/why this happened. I was working on my site over the weekend and it was fine. When I came into the office this morning, I went to the site and got this:
Fatal error: Allowed memory ...
0
votes
2answers
691 views
Fatal error: Allowed memory size of … bytes exhausted [closed]
I have tried all the following (although many said I only need either one)
memory_limit = 512M (it's stated in my phpinfo(), this limit was set so long ago that I can't even remember when)
...
0
votes
1answer
234 views
Wordpress VPS out of Memory Problem
I would want to put forward my case in detail.
My website www.thehardtackle.com receives around 5000-10000 pageviews every day since 4th August. The server was a VPS with 1 GB memory, 800 GB ...
2
votes
2answers
178 views
Memory usage when querying users
I'm having a small issue with one of my queries here. I cannot increase my wordpress memory limit as long as hostgator sets it to 64mb. I'm not sure if its possible to reduce the amount of memory used ...
0
votes
2answers
205 views
What is a reasonable memory limit for Wordpress
Although the accounts on my server generally have a lower memory limit, I've configured my Wordpress user accounts with a memory limit of 32Mb using the php.ini file and memory_limit = 32M
...
0
votes
2answers
164 views
Not enough memory
Sometimes after activating a plugin the admin side is blank with a memory error message, sometimes the front page too. The standard fix is to increase the memory in config.php.
What is the best way ...
0
votes
2answers
242 views
How to troubleshoot 404s in Wordpress admin
There are several threads on Wordpress.org about this problem, but none with solutions. I just went from localhost (MAMP) to a live server (Dreamhost) and I'm getting constant 404s when submitting ...
10
votes
1answer
326 views
How to configure WordPress to handle 75,000 pages?
I have a large site that's using WordPress. We have 75,000 pages in the site so far, and it's performing well on the front-end.
The issue is that if anyone on our team touches the page editor ...
0
votes
1answer
456 views
Out of Memory - Line 791 of WP-DB.php (mysql_real_escape_string)
Update The end result is that I did not account for Apache memory limits. There were limits placed on the Apache process which caused PHP to be limited regardless of the settings placed on it. ...
1
vote
2answers
275 views
Allowed Memory Size Error in WordPress
My WordPress is always down. I contacted my host and they said that the server is fine. My WordPress site has some basic plugins which are
all in one seo
seo search tagging
google xml
robots.txt
...
0
votes
1answer
520 views
Memory consumption in w3-total-cache vs wp-super-cache?
I've been suggested by my hosting to move from w3-total-cache to wp-super-cache since the later is supposed to be using less memory then the first.
Is there any knowledge about this comparison?
Is ...
1
vote
2answers
184 views
Memory Outages - Need PHP/WP/IT expert
I am constantly experiencing memory outages on my server.
The server is forking and spawning new connections like crazy. I have a VPS with WHM installed.
This is the reply from my host:
"The issue ...
2
votes
1answer
1k views
High CPU & Memory Spikes?
I randomly get high spikes in CPU and Memory. I have deactivated nearly all plugins trying to find the culprit. I have been turning on a few at a time then waiting 30 minutes to see how if the server ...
37
votes
8answers
3k views
Refactoring Wordpress to improve memory performance [closed]
I had a close look at Wordpress memory consumption. On my site, it seems that for each page hit 20MB of RAM gets allocated, just to prepare comfy environment for all the plugins to run in. I plotted ...
1
vote
1answer
598 views
Notification mail about high memory usage?
Today morning on valentines I received a shocking mail from my WordPress site,
Don't know what to do,
Can anyone help me out in this
Subject: [Online MBA] High memory
usage notification Sent: ...
0
votes
1answer
698 views
Fatal error, is this because of host?
Suddenly I am getting the following error on my website, I don't know why, but I think this is because of shortage of RAM or Memory in the host?
Is it true?
Error:
Fatal error: Out of memory ...
1
vote
6answers
4k views
wordpress upload http error?
I'm trying to uplaod video files,my upload file size limit is 96mb,and I can upload videos until 10mb size,but I want to uplaod videos that have 20mb size.If I try to uplaod bigger video I get http ...
0
votes
3answers
516 views
Memory usage issue in WordPress 3.x
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate ... bytes) in wp-includes/pomo/streams.php on line ...
Plugins like Super-cashe & Total-cashe don't help.
...
5
votes
5answers
3k views
How to use more than 256MB of memory in the admin?
I'm building a site for a photographer who uploads pictures that are normally large for todays digital cameras. Images are quite memory intensive, especially the image operations like creating ...