Title: Fatal error: Allowed memory size
Last modified: August 24, 2016

---

# Fatal error: Allowed memory size

 *  [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-75/)
 * Hello
 * My issue information as below:
 * Permalink Settings – Post name
    I am using a static front page My Polylang settings–
   I need to set default to English but can not, Because it’s display – Fatal error:
   Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes)
   in /xxx/xxx/xxx/wp-includes/wp-db.php on line 1684
 * My server is Dedicated Server and allowed memory size is 1000 MB.
    My site is
   [http://cookkoo.com](http://cookkoo.com)
 * Please help
 * Thank you
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

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

 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-75/#post-6115759)
 * Hello
 * > I need to set default to English but can not,
 * Yes it’s a big operation if you have a lot of posts. And you seem to have only
   256 MB. Did you check your max memory with phpinfo?
 *  Thread Starter [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-75/#post-6115780)
 * Hello
 * Thank you for your messages.
 * I have the post only about 15 pages. But i have Member Profile page more than
   2 million users.
 * And i already check with the Admin and they show mysite.com/phpinfo it have 1000
   MB.
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-75/#post-6115784)
 * But WordPress limit you at 256MB on your admin side. WordPress does that by this
   function `define( 'WP_MAX_MEMORY_LIMIT', '256M' );`.
 * You can increase this memory limit by adding this function `define( 'WP_MAX_MEMORY_LIMIT','
   1000M' );` in your wp-config.php.
 * See codex: [http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP](http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP)
 *  Thread Starter [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-75/#post-6115885)
 * Hello, Chrystl
 * Thank you so much for your help. I already done but still have the old issue.
   
   May be because i have a big data of member. But on my Localhost it work fine,
   May be because it have small data, not the same data on Hosting.
 * If i start to config Polylang on Localhost and after that upload it to Hosting.
   And what is the Folder,File and Database which i should to upload to Hosting.
   Please help
 * Thank you
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-75/#post-6115888)
 * Did you try to deactivate all your plugins except Polylang to do your operation?

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

The topic ‘Fatal error: Allowed memory size’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Chrystl](https://wordpress.org/support/users/chrystl/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-75/#post-6115888)
 * Status: not resolved