PHP Allowed Memory Size Exchausted Fatal Error PHPの可メモリサイズexchausted致命的なエラー
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: PHPスクリプトの機能は、次のエラーが発生戻り値のいずれか、またはApacheのWebページ上のログファイルにエラーが発生するときに使用されるexchaustedと、デフォルトのメモリ要件の8 MBのメモリ割り当て:
PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate … bytes) in … PHPの致命的なエラー:可メモリのサイズを8388608バイト疲れきって(試みたを割り当てる…バイト)で…
The error normally occurs when PHP tries to process a big database records or when importing or exporting.通常、 PHPのエラーが発生したときに、巨大なデータベースを処理しようとするときにレコードまたはインポートまたはエクスポートします。 To solve the error, there are two resolutions.このエラーを解決するために、決議には2つです。 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: 1つは、メモリの増加を変更すると、特定の制限を含むPHPスクリプトを追加したりすると、さらにラインの上部にあるスクリプト:
ini_set(”memory_limit”,”16M”); ini_set ( " memory_limit " 、 " 16メートル" ) ;
You can assign the memory limit to any amount you like by changing the 16M to other number, such as 12M or 24M.のメモリを割り当てることができますどれだけの量を制限するように他のコードを変更して一六メートルなど一二メートルまたは二十四メートルです。 16M will set the memory limit to 16 megabytes.十六メートルは、メモリの制限を設定する16メガバイトです。 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.これが動かない場合は、 PHPもエラーが発生すると表示され、メモリの限界が増加するPHPスクリプトを実行して完全にするまで、またはあなたのシステムのハードウェアの限界です。
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).メモリの割り当てを変更するに恒久的に制限するPHPスクリプトのすべてのサーバー上で実行され、 php.iniの設定ファイルを変更しているサーバー(場所に応じて、 OSおよびインストール方法) 。 Search for memory_limit after opening the file in an editor. memory_limitを検索した後ファイルを開くには、エディタを起動します。 If the memory_limit doesn’t exist, add the following line.の場合、 memory_limitがない場合は、次の行を追加しています。 If it’s there, modify the value of the memory_limit:もしそれが事実、の値を変更して、 memory_limit :
memory_limit = 12M memory_limit = 12メートル
The 12M sets the limit to 12 megabytes (12582912 bytes). 12メートルの上限を設定する十二メガバイト( 12582912バイト)です。 Change to the value you desirable.値を変更するには望ましい。
An alternative way is to modify your PHP scripts that generate the error for more efficiency and better data handling.する別の方法を変更するには、 PHPスクリプトを生成してエラーの詳細データ処理の効率化とより良いです。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これは、機械翻訳ページで提供"現状有姿"を保証します。 Machine translation may be difficult to understand.機械翻訳を理解するのは難しいかもしれません。 Please refer toを参照してください original English articleオリジナルの英語記事索引 whenever possible.いつ可能です。
Share and contribute or get technical support and help atを共有して貢献や技術サポートとヘルプを得る My Digital Life Forums 私のデジタルライフフォーラム .です。
Related Articles関連記事
- PHP Parse Error: syntax error, unexpected $end PHPのパースエラー:構文エラーが発生すると、予期しない$エンド
- gmmktime Error in WordPress and MagpieRSS gmmktimeにエラーが発生WordPressのとmagpierss
- How to Customize, Modify or Change WordPress Database Connection Error Pageをカスタマイズする方法、修正、または変更WordPressのデータベースへの接続エラーページ
- PHP Scripts open_basedir Restriction in Effect Error PHPスクリプトエラーが発生open_basedirの制限に効果
- Oracle EXP-00091 Error When Export Database Oracleの輸出- 00091エラーが発生する輸出データベース
- Comments and Comment Blocks in PHPコメントやコメントブロックはPHP
- PHP 5 Unable to Open HTTP Request Stream with fopen or fsockopen Functions PHP 5へのストリームをHTTPリクエストを開くことができませんfopen関数またはにfsockopen
- Enable MySQL InnoDB Storage Engine Support in XAMPP Installation MySQLのInnoDBストレージエンジンのサポートを有効にXAMPPインストール
- Joomla Direct Access to This Location Is Not Allowed Error joomlaこの場所に直接アクセスすることはできませんエラーが発生
- Spb Finance Synchronization Error in Microsoft ActiveSync Spb財政の同期にエラーが発生マイクロソフトActiveSync

































December 19th, 2007 09:58 2007年12月19日09:58
I have same problem with yours.私はあなたと同じ問題がある。 Can this problem solved by editing any wordpress file?この問題は解決することWordPressのファイルを編集することによって任意のですか? or….または… 。
without configuring php.ini? php.iniの設定なしですか?
thanks before感謝する前に
January 27th, 2008 17:35 2008年1月27日17:35
I follow your instruction by modifying php.ini and it works.私の命令に従ってくださいphp.iniと、動作を変更します。 Thanks for sharing this information.この情報を共有するのおかげです。
January 31st, 2008 11:20 2008年1月31日11:20
Exactly what I was looking for to solve my problems!正確には何を探して私は私の問題を解決するために! Thanks for the simple and clear instruction!シンプルかつ明確な指示てくれてありがとう!
February 16th, 2008 19:50 2008年2月16日19:50
thanksありがとう
March 6th, 2008 10:32 2008年3月6日10:32
After trying many solutions in order to get Wordpress to co-operate with Microsoft live writer.しようとした後のWordPressを得るために多くのソリューションを共同で動作するマイクロソフトライブ作家です。 I finally came here and after editing “/wp-admin/includes/image.php”, the problem was solved.私がここに来たのを最後に編集した後" / wp-admin/includes/image.php " 、この問題は解消された。
I just needed to add…私だけを追加する必要に応じて…
ini_set(”memory_limit”,”12M”); ini_set ( " memory_limit " 、 "十二メートル" ) ;
… right under the <?php tag …右下の<ですか? PHPのタグ
May 1st, 2008 13:34 2008年5月1日13:34
where is PHP.INI location??? php.iniの場所はどこにありますか?ですか?ですか?
May 22nd, 2008 11:15 2008年5月22日11:15
I have ever got the same problem, but this ini_set(”memory_limit”,”12M”); line could not solved my problems.私が今までには、いつも同じ問題は、しかし、このini_set ( " memory_limit " 、 " 12メートル" ) ;ライン私の問題を解決できませんでした。 I just removed all waste plugin.ただ廃棄物の差込式をすべて削除します。 And walah, It worked.とwalah 、それがうまくいった。