Title: wp taking 512M memory per request
Last modified: April 29, 2017

---

# wp taking 512M memory per request

 *  [thogarrai](https://wordpress.org/support/users/thogarrai/)
 * (@thogarrai)
 * [9 years ago](https://wordpress.org/support/topic/wp-taking-512m-memory-per-request/)
 * [http://ifsccodesbi.in/](http://ifsccodesbi.in/)
 * categories are more than
 * PHP info [http://ifsccodesbi.in/info.php](http://ifsccodesbi.in/info.php)
 * 40,566 categories
    128,645 posts
 * 127,270 records in post meta
 * i have increased 256 to 512 MB ram then categories call worked. before that there
   is a fatal error in categories PHP to increase memory

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

 *  [sinip](https://wordpress.org/support/users/sinip/)
 * (@sinip)
 * [9 years ago](https://wordpress.org/support/topic/wp-taking-512m-memory-per-request/#post-9081234)
 * Your website is currently inaccessible. Is your host Bluehost? And it looks like
   you’re using Cloudflare as well?
 *  Thread Starter [thogarrai](https://wordpress.org/support/users/thogarrai/)
 * (@thogarrai)
 * [9 years ago](https://wordpress.org/support/topic/wp-taking-512m-memory-per-request/#post-9081267)
 * yes
 * [09-Mar-2017 11:38:39 UTC] PHP Fatal error: Allowed memory size of 268435456 
   bytes exhausted (tried to allocate 72 bytes) in /home4/rajugl2g/public_html/ifsccodesbi.
   in/wp-includes/category.php on line 346
    [09-Mar-2017 11:48:00 UTC] PHP Fatal
   error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72
   bytes) in /home4/rajugl2g/public_html/ifsccodesbi.in/wp-includes/category.php
   on line 346 [09-Mar-2017 15:32:58 UTC] PHP Fatal error: Maximum execution time
   of 30 seconds exceeded in /home4/rajugl2g/public_html/ifsccodesbi.in/wp-includes/
   taxonomy.php on line 0 [10-Mar-2017 00:58:59 UTC] PHP Fatal error: Maximum execution
   time of 30 seconds exceeded in /home4/rajugl2g/public_html/ifsccodesbi.in/wp-
   includes/taxonomy.php on line 0 [10-Mar-2017 00:58:59 UTC] PHP Fatal error: Maximum
   execution time of 30 seconds exceeded in /home4/rajugl2g/public_html/ifsccodesbi.
   in/wp-includes/functions.php on line 346 [11-Mar-2017 05:46:57 UTC] PHP Fatal
   error: Maximum execution time of 30 seconds exceeded in /home4/rajugl2g/public_html/
   ifsccodesbi.in/wp-includes/taxonomy.php on line 0 [13-Mar-2017 23:40:07 UTC] 
   PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home4/rajugl2g/
   public_html/ifsccodesbi.in/wp-includes/taxonomy.php on line 0 [14-Mar-2017 13:
   25:08 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /
   home4/rajugl2g/public_html/ifsccodesbi.in/wp-includes/taxonomy.php on line 0 [
   17-Mar-2017 04:53:29 UTC] PHP Fatal error: Maximum execution time of 30 seconds
   exceeded in /home4/rajugl2g/public_html/ifsccodesbi.in/wp-includes/taxonomy.php
   on line 0 [19-Mar-2017 00:23:46 UTC] PHP Fatal error: Maximum execution time 
   of 30 seconds exceeded in /home4/rajugl2g/public_html/ifsccodesbi.in/wp-includes/
   taxonomy.php on line 0 [20-Mar-2017 03:34:38 UTC] PHP Fatal error: Maximum execution
   time of 30 seconds exceeded in /home4/rajugl2g/public_html/ifsccodesbi.in/wp-
   includes/taxonomy.php on line 0 [20-Mar-2017 09:32:33 UTC] PHP Fatal error: Maximum
   execution time of 30 seconds exceeded in /home4/rajugl2g/public_html/ifsccodesbi.
   in/wp-includes/taxonomy.php on line 0 [20-Mar-2017 17:50:48 UTC] PHP Fatal error:
   Maximum execution time of 30 seconds exceeded in /home4/rajugl2g/public_html/
   ifsccodesbi.in/wp-includes/taxonomy.php on line 0 [21-Mar-2017 06:39:01 UTC] 
   WordPress database error Lost connection to MySQL server during query for query
   SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND (wp_posts.
   post_author = 1) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘
   publish’) ORDER BY wp_posts.post_date DESC LIMIT 0, 6 made by require(‘wp-blog-
   header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts[
   21-Mar-2017 17:26:37 UTC] PHP Fatal error: Maximum execution time of 30 seconds
   exceeded in /home4/rajugl2g/public_html/ifsccodesbi.in/wp-includes/taxonomy.php
   on line 0 [21-Mar-2017 17:26:42 UTC] PHP Fatal error: Maximum execution time 
   of 30 seconds exceeded in /home4/rajugl2g/public_html/ifsccodesbi.in/wp-includes/
   taxonomy.php on line 0 [21-Mar-2017 17:26:49 UTC] PHP Fatal error: Maximum execution
   time of 30 seconds exceeded in /home4/rajugl2g/public_html/ifsccodesbi.in/wp-
   includes/taxonomy.php on line 0 [22-Mar-2017 07:46:36 UTC] PHP Fatal error: Allowed
   memory size of 268435456 bytes exhausted (tried to allocate 86 bytes) in /home4/
   rajugl2g/public_html/ifsccodesbi.in/wp-includes/wp-db.php on line 1841 [22-Mar-
   2017 07:46:36 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output
   buffering display handlers in Unknown on line 0
 * its taking 5 + minutes load.
 * tried p3 profiler but getting internal server error
 *  [sinip](https://wordpress.org/support/users/sinip/)
 * (@sinip)
 * [9 years ago](https://wordpress.org/support/topic/wp-taking-512m-memory-per-request/#post-9081302)
 * According to this – `Allowed memory size of 268435456 bytes exhausted`, you’re
   still on 256MB limit. I don’t think you can change it on shared hosting as you
   wish.

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

The topic ‘wp taking 512M memory per request’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [sinip](https://wordpress.org/support/users/sinip/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/wp-taking-512m-memory-per-request/#post-9081302)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
