Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
9 views

Replacement for wp_get_attachment_image() inside loop

Currently I am using the Menu Image plugin. It simply adds an image field to the backend Menu page, so you can have images in your menu items. Well I have a large menu structure with a lot of small ...
0
votes
1answer
42 views

Memory Management when developing plug-ins

I have done a search on this issue here and there are a lot of queries about memory issues and WordPress. The common recommended fix is to alter the WORDPRESS_MEMORY constant. I have a similar ...
0
votes
1answer
35 views

Too many index.php files running and eating up all memory

I have wordpress site installed on dedicated server. From few days I'm experiencing high memory consumption on this cpanel account and it is slowing my wordpress site Then I examined Process ...
1
vote
0answers
97 views

CPU usage: AJAX and Heartbeat API on admin pages

My (shared) web host recently sent me this: "Our server monitoring systems keep indicating high server load persistently maintained by your website (...). Most of the hits are to the ...
0
votes
0answers
35 views

Post MetaTable Overload

Anyone run a wp site with a large amount of post meta data? My site uses ACF with several custom post types and at least 20 custom meta fields with each of my custom post types. I have over 1000 ...
0
votes
0answers
18 views

How to leverage hefty memory actions from programmatically creating nav menus

I'm working on a plugin right now and hitting a wall. Long story short, part of the plugin process is to construct a dynamic nav menu. This nav menu can get rather large, and I'm finding that it seems ...
2
votes
3answers
105 views

PHP memory friendly alternative to get_posts()

I was running into memory issues with this: get_posts( array( 'posts_per_page' => '-1', 'post_type' => array( 'product', 'product_variation' ) ) (there are thousands of results) just trying to ...
0
votes
0answers
93 views

Fatal error: Allowed memory size exhausted error without www

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 130968 bytes) in /home///wp-includes/plugin.php on line 607 I've looked up all of the similar topics about this but ...
0
votes
0answers
45 views

Wordpress plugin admin page breaking

I am developing one file uploading plugin for my wordpress site to upload posts along with taxonomy and post meta data. Functionality wise it is working fine but when file uploading is finishing ...
0
votes
1answer
116 views

“Allowed memory size” problem [closed]

I duplicated a wordpress website. On the new domain, the TYPES plugin causes big problems. I get several "Allowed memory size of ... bytes exhausted" error messages. They show up when I try to do the ...
0
votes
0answers
132 views

Fatal error: Allowed memory size of bytes exhausted (tried to allocate 36 bytes)

I' fetching some information from my website e.g category_name, category_id etc. with wordpress codex and encode them with json. I'm using them in my android application, but today, suddenly, it gave ...
0
votes
0answers
22 views

CPU Resource Management For Bulk Attachment Insert Share Host

I've created a page on a shared host which loops through a series of posts and then attaches images to each of the posts. The images are already on the server and are copied into the WP-Content ...
3
votes
3answers
854 views

Memory needed to host 200 wordpress sites?

I'm planning to use Multisite to host 200 different wordpress blog with each having their own unique subdomain. I notice each time I create a virtual host for each subdomain it'll use roughly 50mb ...
1
vote
2answers
251 views

Downsize CPU & DB usage in wordpress

i have created a smart interface WP based which we use to manage clients.. it uses a lot of information and data each time a client is returned / viewed. it is a locked interface and does not have ...
0
votes
0answers
44 views

Excessive memory used by update_option()

I'm a newer WP developer trying to wrap his head around how to store information in the options table to support a plugin that I am writing. Unfortunately, trying to UPDATE the options table is making ...
0
votes
1answer
156 views

Wordpress constantly running out of memory

My Wordpress installation on a shared hoster is constantly running out of memory: The error pops up at seemingly random, for example when uploading photos or sometimes without doing anything just ...
0
votes
0answers
295 views

WP_MAX_MEMORY_LIMIT in wp-config.php seems to be ignored

I am using WordPress v.3.8.1 with WMPL (WordPress Multilingual Plugin) v.3.1.4 and WPML Media Pugin v.2.1.3. In php.ini file I have... memory_limit = 512M I already have a info.php file with ...
0
votes
1answer
141 views

PHP Memory Limit vs. WP Memory Limit

I'm using TPC! Memory Usage Settings to monitor my installation's memory usage. The plugin displays 'WP Memory Limit' which I know is set by the wp-config.php. It also displays 'PHP Memory Limit' ...
0
votes
2answers
310 views

Allowed memory size of (…) exhausted

I'm stuck trying to figure out what seems to be a very common problem, the above mentioned "Allowed memory size of (...) exhausted". After developing my first theme I was moving it (just the theme, ...
1
vote
1answer
182 views

how to find and correct plugin query performance issues

I have recently uploaded a new site I've been working on for a while - which is working and performing very well on the localhost - there is no notable sluggishness to the load-times. Once uploaded ...
1
vote
2answers
4k views

WordPress plugin installation error

I have installed WordPress 3.8 and now I am trying to install WooCommerce - excelling eCommerce 2.0.20 plugin but every time I am getting this error: Note: I am trying to install plugin in local ...
0
votes
0answers
283 views

Wordpress keeps crashing my server

I wonder whether anyone has experienced this, but every 5-10 clicks or so either in the admin panel or somewhere around navigating the website, my server crashes. Would anyone know why this happens ...
0
votes
1answer
151 views

Really high memory usage with almost no plugins — could Arabic / Hebrew text be a factor?

I've got a fairly small site with literally almost zero plugins (Importer, W3 Total Cache) and not that many pages or media assets but it's running a huge amount of memory (regularly 33MB plus). ...
0
votes
1answer
109 views

Allowed memory size exhausted problem

This seems to be a weird problem. The exact error is this: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 337608 bytes) in ... It only hangs the dashboard. The ...
0
votes
0answers
364 views

Fatal error: ob_end_flush()

Ive just imported a page via xml. It has a bunch of ACF Repeater Fields (about 100). When I attempt to edit the page I see the following error: Fatal error: ob_end_flush() [<a ...
6
votes
2answers
358 views

Multiple WordPress sites eat up alot of RAM

I have a VPS with 30 WordPress sites. I am running nginx & APC and notice it eats up my RAM up to 1GB and it increases each time I add another site. I notice APC is the one that's causing the ...
0
votes
0answers
81 views

Fatal error: Out of Memory? (17mb used?)

Fatal error: Out of memory (allocated 47185920) (tried to allocate 1922682 bytes) in /homepages/35/d289582498/htdocs/reeks/wp-includes/post.php on line 2850 I have a Wordpress website, setup with a ...
0
votes
2answers
659 views

How do I find out which plugin is exceeding memory limits?

I had an issue today when my sites had stopped working. Calling up the link just showed a cryptic message Database connection error, on all my sites on one server. The error disappeared on rebooting. ...
9
votes
4answers
265 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
87 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 ...
6
votes
2answers
151 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
1answer
84 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
1answer
537 views

Fatal error: Allowed memory size exhausted

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: Array( [tax_query] => Array ( ...
0
votes
1answer
2k 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
2answers
482 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
166 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
133 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
298 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
60 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
141 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
2answers
690 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 suspect a plugin that resizes images ...
0
votes
2answers
2k 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
218 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
247 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
375 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
151 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
264 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
685 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 ...
1
vote
1answer
582 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
1k 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 ...