PHP Allowed Memory Size Exchausted Fatal Error Php dovoljena velikost pomnilnika Exchausted Fatal error
A functional PHP script returns the following error either on the web page or in Apache error log file when it exchausted and used up the default memory requirement of 8 MB memory allocation: Funkcionalni PHP skript vrne naslednje napake bodisi na spletni strani ali v Apache error log datoteko, ko je exchausted in porabljena privzeti pomnilnik za zahtevo po 8 MB pomnilnika dodelitve:
PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate … bytes) in … PHP Fatal error: Allowed pomnilnik velikosti 8388608 bajtov izčrpana (poskušala dodeliti ... bajtov) v ...
The error normally occurs when PHP tries to process a big database records or when importing or exporting. Napako običajno zgodi, ko PHP poskusi obdelati velike podatkovne baze evidence ali, če uvoz ali izvoz. To solve the error, there are two resolutions. Da bi odpravili napako, obstajata dve resolucij. One is to change and increase the memory limit of the particular PHP script by adding or including an additional line at the top of the script: Eno je, če ľelite spremeniti in povečati pomnilnik meje posameznega PHP skript z dodatkom ali z dodatno vrstico v zgornjem delu skripta:
ini_set(”memory_limit”,”16M”); ini_set ( "memory_limit", "16M");
You can assign the memory limit to any amount you like by changing the 16M to other number, such as 12M or 24M. Tu lahko določite, koliko pomnilnika mejo za vsak znesek, ki ga imate radi spreminjajo 16M na druge številke, kot je 12M ali 24m. 16M will set the memory limit to 16 megabytes. 16M bo določila mejo pomnilnika do 16 megabajtov. If this doesn’t work and the PHP error still appearing, increase the memory limit until the PHP scripts running perfectly or the limit of your system hardware. Če to ne deluje in PHP napaki še vedno prikazuje, povečajte količino pomnilnika, dokler se mejne PHP skripte prikazovati popolnoma ali omejitev vašem sistemu strojne opreme.
To change the memory allocation limit permanently for all PHP scripts running on the server, modify the PHP.INI configuration file of the server (location depending on your OS and installation method). Če ľelite zamenjati uporabljeni pomnilnik dodelitev omeji stalno za vse PHP skripte teče na strežniku, spremenite PHP.INI konfiguracijsko datoteko na strežnik (odvisno od vaše lokacije OS in namestitev metoda). Search for memory_limit after opening the file in an editor. Išči memory_limit po odprtju datoteke v urejevalniku. If the memory_limit doesn’t exist, add the following line. Če memory_limit ne obstaja, dodajte naslednjo vrstico. If it’s there, modify the value of the memory_limit: Če je tam, spremenite vrednost na memory_limit:
memory_limit = 12M memory_limit = 12M
The 12M sets the limit to 12 megabytes (12582912 bytes). Je 12M, določa mejo do 12 megabajtov (12582912 bytes). Change to the value you desirable. Preklopi na vrednost, ki jo zaželeno.
An alternative way is to modify your PHP scripts that generate the error for more efficiency and better data handling. Alternativni način je, da spremenite vaš PHP skript, ki ustvari napako za večjo učinkovitostjo in boljšo obdelavo podatkov.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. POMEMBNO: To je stroj prevede stran, ki je ponujena "kot je" brez garancije. Machine translation may be difficult to understand. Strojno prevajanje je lahko težko razumljiva. Please refer to Prosimo, glejte original English article Originalno angleško članek whenever possible. kadar je to mogoče.
Share and contribute or get technical support and help at Deliti in prispevati ali dobiti tehnično podporo in pomoč pri My Digital Life Forums Moje digitalno življenje Forumi .
Related Articles Sorodni članki
- Joomla Direct Access to This Location Is Not Allowed Error Joomla neposreden dostop do te lokacije ni dovoljeno napako
- Fix Vista Unable or Fail to Remember or Save Folder Types/Views Setting Error by Increasing BagMRU Cache Memory Size Popravi Vista ne more ali ne spomnite, ali shranite mapo vrste / ogledov pogrešek nastavitve ne s povečanjem BagMRU Začasni pomnilnik velikost
- Set Allowed Sites for Google AdSense Publisher Account Nastavi dovoljeno spletnih strani za Google AdSense račun
- Change or Increase vBulletin Maximum Number of Total Allowed Private Messages (PM) Spremeni ali Povečajte vBulletin Največje število Skupaj Dovoljeno zasebnih sporočil (PM)
- Sandisk Announces 16GB microSDHC And Memory Stick Micro (M2) Mobile Memory Cards Sandisk napoveduje 16GB microSDHC in pomnilniško kartico Memory Stick Micro (M2) mobilne pomnilniške kartice
- Toshiba Unveiled 32GB Highest Memory Capacity NAND Flash Memory Devices for Consumer Markets Toshiba je bil predstavljen najvišjim 32GB pomnilnika NAND Flash spominskih naprav za potrošniških trgov
- Internal Error 2739 Error in Vista (32 or 64-bit) When Install Adobe Photoshop CS3 and Reflector Related Programs Notranja napaka 2739 Napaka v Vista (32 ali 64-bitni) Ko namestite Adobe Photoshop CS3 in Reflector Povezani programi
- PHP Parse Error: syntax error, unexpected $end PHP Parse Error: syntax error, nepričakovanih $ koncu
- New GreenHouse 8GB SDHC Memory Card Nova toplogrednih 8GB SDHC Memory Card
- Hynix and ISi Collaboration On Z-RAM Memory Technology Hynix in ISI sodelovanju na Z-RAM pomnilnik tehnologije


























December 19th, 2007 09:58 19. december 2007 09:58
I have same problem with yours. Imam isti problem z vašim. Can this problem solved by editing any wordpress file? Lahko ta problem rešili z urejanjem katere koli datoteke WordPress? or…. ali ....
without configuring php.ini? brez konfiguriranju php.ini?
thanks before hvala pred
January 27th, 2008 17:35 27 januar 2008 17:35
I follow your instruction by modifying php.ini and it works. Jaz ubogam tvoje navodilo, ki spreminja php.ini in deluje. Thanks for sharing this information. Hvala za to izmenjavo informacij.
January 31st, 2008 11:20 31 januar 2008 11:20
Exactly what I was looking for to solve my problems! Točno to sem iskal za rešitev moje težave! Thanks for the simple and clear instruction! Hvala za enostaven in jasen navodilo!
February 16th, 2008 19:50 16. februar 2008 19:50
thanks hvala
March 6th, 2008 10:32 6. marec 2008 10:32
After trying many solutions in order to get Wordpress to co-operate with Microsoft live writer. Po mnogih poskušam rešitve, da bi dobili Wordpress, ki je sodelovalo s programom Microsoft žive pisatelj. I finally came here and after editing “/wp-admin/includes/image.php”, the problem was solved. Končno sem prišla sem in po urejanjem "/ wp-admin/includes/image.php", problem je rešen.
I just needed to add… Pravkar sem potrebna, da bi dodali ...
ini_set(”memory_limit”,”12M”); ini_set ( "memory_limit", "12M");
… right under the <?php tag ... Desno pod <? Php tag
May 1st, 2008 13:34 1. maj 2008 13:34
where is PHP.INI location??? kjer je PHP.INI lokacijo?
May 22nd, 2008 11:15 22. maj 2008 11:15
I have ever got the same problem, but this ini_set(”memory_limit”,”12M”); line could not solved my problems. Sem jih kdaj dobila z isto težavo, vendar to ini_set ( "memory_limit", "12M"); linija ni mogla rešiti moje težave. I just removed all waste plugin. Pravkar sem odstraniti vse odpadke plugin. And walah, It worked. In walah, je delal.
November 8th, 2008 08:41 8. november 2008 08:41
THANKS VERY MUCH…. Najlepša hvala ....