Home php教程 php手册 Fatal error: Out of memory (allocated 786432)提示解决办法

Fatal error: Out of memory (allocated 786432)提示解决办法

May 25, 2016 pm 04:52 PM
fatal memory

今天在运行phpmyadmin时页面突然出现了Fatal error: Out of memory (allocated 786432)提示,看英文的意思是说超过了指定内存大小了,错误提示:

Fatal error: Out of memory (allocated 786432) (tried to allocate 393216 bytes) in E:xxxxlibrariescommon.lib.php on line 3135

解决办法

一,在你程序页面加入如下代码:

ini_set('memory_limit',"256M")

二,在php.ini中修改,打开php.ini修改:

memory_limit = 1024M

依照服务器配置进行调整配置的内存使用大小修改后重启iis/apache

永久地址:

转载随意~请带上教程地址吧^^

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What to do if there is a fatal error when opening a game in win10? What to do if there is a fatal error when opening a game in win10? Feb 09, 2024 pm 12:54 PM

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.

How to solve the fatal error in Final Fantasy 7 How to solve the fatal error in Final Fantasy 7 Mar 07, 2024 pm 04:40 PM

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

CAMM2 for desktop PCs: MSI explains the benefits of the new RAM standard for gaming towers CAMM2 for desktop PCs: MSI explains the benefits of the new RAM standard for gaming towers Aug 17, 2024 pm 06:47 PM

The first LPCAMM2 modules for laptops are already being delivered, and desktop mainboards are also expected to be equipped with CAMM2 in future. CAMM2 and LPCAMM2 are not compatible with each other, and even on desktop PCs, customers need to be caref

Blue screen problem caused by win10 memory management Blue screen problem caused by win10 memory management Dec 30, 2023 pm 07:11 PM

The win10 system is an excellent system that is worth using. Its strong compatibility and high intelligence can ensure that there will be basically no problems in the use of the win10 system. However, recently, many friends have reported that their computers frequently have blue disks. And it always prompts the error code memorymanagement. What's going on? Today, the editor will bring you the solution to the frequent blue screen of win10 and the memory management termination code. If you need a game, come and take a look. Solution to win10memorymanagement blue screen: Solution 1: 1. Use "Win key + R" + enter "control + enter" to enter the control surface

MySQL storage engine selection comparison: InnoDB, MyISAM and Memory performance index evaluation MySQL storage engine selection comparison: InnoDB, MyISAM and Memory performance index evaluation Jul 26, 2023 am 11:25 AM

MySQL storage engine selection comparison: InnoDB, MyISAM and Memory performance index evaluation Introduction: In the MySQL database, the choice of storage engine plays a vital role in system performance and data integrity. MySQL provides a variety of storage engines, the most commonly used engines include InnoDB, MyISAM and Memory. This article will evaluate the performance indicators of these three storage engines and compare them through code examples. 1. InnoDB engine InnoDB is My

Solution to PHP Fatal error: Allowed memory size of bytes exhausted Solution to PHP Fatal error: Allowed memory size of bytes exhausted Jun 22, 2023 am 08:13 AM

PHP is a widely used server-side scripting language, but when running PHP applications, you may encounter the error message 'PHPFatalerror: Allowedmemorysizeofbytesexhausted', which usually means memory allocation problems. In this article, we will explore some common causes of ‘PHPFatalerror:Allowedmemorysizeofbytese

What are the characteristics of the Memory storage engine in mysql? What are the characteristics of the Memory storage engine in mysql? Jun 02, 2023 pm 08:48 PM

1. Each table of the Memory table can have up to 32 indexes. 16 columns per index, and a key length of 500 bytes. 2. The storage engine performs HASH and BTREE micronization. 3. There can be non-unique key values ​​in the table. 4. The table adopts a fixed record length format. 5. BLOB or TEXT columns are not supported. Example mysql>CREATETABLElookup(idINT,INDEXUSINGHASH(id))ENGINE=MEMORY;mysql>CREATETABLElookup(idINT,INDEXUSINGBTREE(id))ENGINE=MEMORY;

Raspberry Pi: Users can now get a big performance boost with just 100 lines of code Raspberry Pi: Users can now get a big performance boost with just 100 lines of code Jun 28, 2024 pm 04:16 PM

The Raspberry Pi 5 is a very versatile single-board computer, mainly because of its extensive connectivity, and the significantly increased computing capacity compared to previous generations also plays a role. In the field of IT, it is not unusual f

See all articles