FatalError: Allowedmemorysizeof123456789bytesexhauste. When running dedecms today, some pages will prompt FatalError: Allowedmemorysizeof123456789bytesexhausted. next I will introduce how to solve some problems. Error message: Some pages will prompt Fatal Error: Allowed memory size of 123456789 bytes exhausted when running dedecms today. next I will introduce how to solve some problems.
Error message
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3214636 bytes) in E: VertrigoServwwwinstall. php on line 488
Create a phpinfo. php file and write the following code:
Then you can view your memory.
Insufficient php memory allocation:
1. modify php. ini (recommended)
| The code is as follows: |
|
Memory_limit = 12 M (larger)
|
2. add the following statement to the program:
Modify php memory settings during runtime
Add the following command line to your php code.
| The code is as follows: |
|
Ini_set ('memory _ limit ', '128m '); ?> |
3. create a. htaccess file in the root directory and add the following content:
| The code is as follows: |
|
Php_value max_execution_time 1200 Php_value memory_limit 200 M PHP value post_max_size 200 M Php_value upload_max_filesize 200 M |
What should memory_limit be set?
This is totally dependent on your application requirements. For example, Wordpress requires 32 MB to run the core code. Drupal 6 requires a minimum value of 16 MB and is recommended to be set to 32 MB. If you install many plug-ins, especially those that require image processing, you may need MB or higher memory.
Internal Error: Allowed memory size of 123456789 bytes exhausted. next I will introduce how to solve some problems. Error message...