


Fatal Error: Allowed memory size of 123456789 bytes exhauste_PHP教程
When running dedecms today, some pages will prompt Fatal Error: Allowed memory size of 123456789 bytes exhausted. Let me 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
We directly create a phpinfo.php file and write the following code
Then you can check your memory
Insufficient php memory allocation:
1. Modify php.ini (recommended)
代码如下 | 复制代码 |
memory_limit = 12M (改大点) |
2. Add the following statements in the program
Modify php’s memory settings during runtime
Just add the following command line to your php code.
The code is as follows
|
Copy code
|
||||
?> |

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



What should I do if there is a fatal error when opening a game in win10? What should we do if a fatal error message appears when running software or games? Let this site carefully introduce to users how to deal with the fatal error when opening games in Win10. What should I do if there is a fatal error when opening a game in win10? Method 1: There are problems with the game client, such as file damage or the use of some cracking patches, which will lead to fatalerror errors. You can re-download the game. Method 2: Too small computer memory can also cause fatalerror errors. If the physical memory is sufficient, you can try to set the virtual memory of the system.

PHP is a popular web development language that has been used for a long time. The PDO (PHP Data Object) class integrated in PHP is a common way for us to interact with the database during the development of web applications. However, a problem that some PHP developers often encounter is that when using the PDO class to interact with the database, they receive an error like this: PHPFatalerror:CalltoundefinedmethodPDO::prep

It is very common to use axios in Vue applications. axios is a Promise-based HTTP client that can be used in browsers and Node.js. During the development process, the error message "Uncaught(inpromise)Error: Requestfailedwithstatuscode500" sometimes appears. For developers, this error message may be difficult to understand and solve. This article will explore this

Solve the "error:incompletetypeisnotallowed" problem in C++ code. During the C++ programming process, you sometimes encounter some compilation errors. One of the common errors is "error:incompletetypeisnotallowed". This error is usually caused by operating on an incomplete type. This article will explain the cause of this error and provide several solutions. firstly, I

Use Java's File.length() function to get the size of a file. File size is a very common requirement when dealing with file operations. Java provides a very convenient way to get the size of a file, that is, using the length() method of the File class. . This article will introduce how to use this method to get the size of a file and give corresponding code examples. First, we need to create a File object to represent the file we want to get the size of. Here is how to create a File object: Filef

When players play Final Fantasy 7, many players encounter fatal error problems and do not know how to solve them. It is usually about the problem that the memory cannot be read. It is recommended that players try to reinstall the game to solve the problem. How to solve the Final Fantasy 7 fatal error 1. Reinstall the game. Game client problems, such as file damage, incompleteness, and the use of some crack patches will lead to fatal errors. It is recommended to reinstall the game. 2. Remove the read-only properties of all files. Some file properties should not be read-only but are set to read-only. Just remove the read-only properties of all files. For example, if a game cannot be played, right-click on the game. Install the folder and cancel the read-only attribute. 3. Setting virtual memory may be due to the memory being too small. If the physical memory is sufficient

Solution to "0271: real time clock error" that cannot boot: 1. Press F1, and in the interface that appears, move the option bar to the third item "Date/Time"; 2. Manually change the system time to the current one time; 3. Press F10 and select yes in the pop-up dialog box; 4. Re-open the notebook to boot normally.

Solve the "error:expectedinitializerbefore'datatype'" problem in C++ code. In C++ programming, sometimes we encounter some compilation errors when writing code. One of the common errors is "error:expectedinitializerbefore'datatype'". This error usually occurs in a variable declaration or function definition and may cause the program to fail to compile correctly or
