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

---

# Allowed memory size

 *  [Mardaki](https://wordpress.org/support/users/mardaki/)
 * (@mardaki)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/allowed-memory-size-5/)
 * Hello Team,
 * I have issue with my website error message ” Allowed memory size ” i change my
   memory size from 64M TO 256M in PHP.ini
    also in default-constants.php and wp-
   config.php change to 256M
 * still im getting this issue i cant login my WP admin
 * default-constants.php setting
 * > function wp_initial_constants() {
   >  global $blog_id;
   >  // set memory limits
   >  if ( !defined(‘WP_MEMORY_LIMIT’) ) { if( is_multisite()){
   > define(‘WP_MEMORY_LIMIT’, ‘256M’); } else { define(‘WP_MEMORY_LIMIT’, ‘256M’);}}
   >  if ( ! defined( ‘WP_MAX_MEMORY_LIMIT’ ) ) {
   >  define( ‘WP_MAX_MEMORY_LIMIT’,‘
   > 256M’ );
 *  wp-config.php setting
 * > define( ‘WP_MAX_MEMORY_LIMIT’, ‘256MB’ );
 * this is the error message when i login to WP admin panel im getting
 * Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate
   229161 bytes) in /***/***/***/wp-content/themes/***/***/classes/class.options_machine.
   php on line 182
 * please Help
 * Thanks

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

 *  [Dhruba J Deka](https://wordpress.org/support/users/dhrubajyotideka/)
 * (@dhrubajyotideka)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/allowed-memory-size-5/#post-6077012)
 * Mardaki, can you link your site URL?
 * I guess it’s your theme and plugins issue.
 *  Thread Starter [Mardaki](https://wordpress.org/support/users/mardaki/)
 * (@mardaki)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/allowed-memory-size-5/#post-6077200)
 * Hey Dhruba,
 * my website [http://www.firstbulk.com](http://www.firstbulk.com)
 *  [Dhruba J Deka](https://wordpress.org/support/users/dhrubajyotideka/)
 * (@dhrubajyotideka)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/allowed-memory-size-5/#post-6077205)
 * You are using Avada theme.
 * Kindly contact Theme Fusion support for this issue.
    You need to contact your
   hosting provider also. It seems you are running the heavy Avada theme on a low
   memory host.
 * WordPress.org support is not for commercial themes and plugins.

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Dhruba J Deka](https://wordpress.org/support/users/dhrubajyotideka/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/allowed-memory-size-5/#post-6077205)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
