If you’re running low on memory, there’s a simple solution: increase the amount of memory you have access to! WordPress lets you set the current memory limit in its wp-config.php file via the wp_memory_limit variable. However, this limit may be less than the amount of memory provided with your hosting plan.
If this is the case, you may be able to resolve this error by editing your wp-config.php file. Making changes at the code level does carry a degree of risk, so it’s smart to create a backup of your site before proceeding.
- Login Your cPanel with hosting Webside or Yourdomain.com/cpanel
- Now Go to File Manager From The Menu
- Go to Tour WordPress Installed Folder & Get A file Name With wp-config.php
- Right click on it/select it Or click On EDIT
- Now you need to find word define( ‘WP_MEMORY_LIMIT’, ’32M’ ); Here using <32M>Update it However you need.
- Some time it is not Ampere on this file Now You need to put Same Code After Database connection Setting Like Below
// ** Database settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define( );
/** Database username */
define( );
/** Database password */
define();
/** Database hostname */
define( ‘ );
/** Database charset to use in creating database tables. */
define( );
/** The database collate type. Don’t change this if in doubt. /
define( ‘DB_COLLATE’, ” );
define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); /*#@koirala