The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
32 views

Updating beyond WordPress 4.2.1 yields “allowed memory size exhausted”

I have a Windows Server running Plesk that has several WordPress sites. The PHP version on each is 5.5.26. One, which uses the defaults for PHP, updates to the latest (4.2.3) with no issues, while ...
0
votes
0answers
62 views

High Physical Memory Usage on Shared Server

I have a shared server that is running 8 wordpress sites. Suddenly, my server memory usage is really high. This is the time of year that one of my sites gets lots of hits due to a festival, but per ...
1
vote
0answers
154 views

I am getting allowed memory exhausted in wp-db.php

Today I checked my error_log and found these errors in it. PHP Fatal error: Allowed memory size of 176160768 bytes exhausted (tried to allocate 5290845 bytes) in ...
0
votes
1answer
15 views

Dashboard memory overload problem

I have a client who has a dev server, and we continue to have problems. We recently tried to install a new theme, and it's child, and it did become active, but anytime we try to access the dashboard ...
1
vote
1answer
85 views

How to solve suspected memory issue in custom WordPress loop?

I have written a plugin that adds a "Where did you hear about us?" question to the WooCommerce checkout page and shows the results (as a simple horizontal bar chart) in a wp-admin page. The plugin ...
0
votes
1answer
42 views

HIgh CPU usage - Will using cache plugins help

i am having issues with CPU high utilization, more than 92% . Is there anyway to track which plugin or process or user is causing this issue? Will usage of any cache plugin will help this or not ?
2
votes
2answers
76 views

What is the most efficient way to search users by their display name?

Initially I thought I'd use get_users() but it turned out it doesn't support the display_name field. Then I've read about using WP_User_Query, but when I do it always exhausts the allowed memory size ...
0
votes
1answer
17 views

posts_results filter function memory errors

My posts_results filter is causing memory errors and I can't figure out why. Here's the full snippet: /*-----------------------------------------------------------------------------------*/ /* ...
0
votes
1answer
19 views

wp_trash_post is leaking memory

I have a plugin that deletes a list of posts based on their post id. The code is very simple foreach ( $post_ids as $post_id ) { wp_trash_post( $post_id, true ); } } ...
0
votes
0answers
83 views

Workaround for PHP Limit for image upload: How to use a local installation to get images online?

I have the common problem while uploading images, that I get the fatal out of memory error. Fatal error: Out of memory (allocated 40632320) (tried to allocate 5120 bytes) in ...
1
vote
2answers
109 views

How can Wordpress be made more memory efficient?

Let's assume this is a site that has dynamic content pertaining to the user, or content that changes very often, so varnish is out. Let's also assume that there are no plugins and the theme is ...
1
vote
1answer
131 views

$wpdb->get_results leaking memory

I have developed a wordpress plugin that reads large custom xml files and imports the information as custom post types and a lot of post meta information. So I am calling a lot of database ...
0
votes
1answer
91 views

Wordpress import error

Firstly I installed WordPress on my site, then I generate a XML file for my blog (akasujjwal.wordpress.com) transfer by using export tool. And when I try to import this XML file to the installed ...
0
votes
1answer
130 views

What happens when WordPress memory limit is exceeded?

Let's say a WordPress website has the following settings: PHP Memory Limit: 100MB WordPress Memory Limit: 50MB What happens when the WordPress Memory Limit is exceeded? Do plugins/themes stop / ...
0
votes
0answers
28 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
59 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
280 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 ...
2
votes
0answers
544 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 ...
1
vote
0answers
56 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
22 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 ...
4
votes
3answers
390 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
179 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
57 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
549 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
242 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
27 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
1k 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
292 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 ...
1
vote
0answers
67 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
328 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
604 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 ...
1
vote
1answer
239 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
682 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
331 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 ...
2
votes
2answers
6k 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
490 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
250 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
120 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
1answer
699 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
570 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
98 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
934 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
275 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
134 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
160 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
101 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
2answers
854 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
3k 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
683 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
213 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 ...