English 中文(简体)
致命错误: 允许的活度为134217728英寸(用于分配71英寸)
原标题:Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) [duplicate]
  • 时间:2010-09-09 06:11:40
  •  标签:
  • php
  • memory
This question already has answers here:
Closed 12 years ago.

Possible Duplicate:
Allowed memory size of 33554432 bytes exhausted (tried to allocate 43148176 bytes) in php

页: 1

在我的营地网页上,我发现以下错误:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) 

我尝试使用<代码>ini_set(记忆-有限,128M );设定记忆限制。

但是,我还是错了。

任何帮助都会得到真正的赞赏。

问题回答

页: 1 你们利用了这一记忆。 您要么需要设定限额higher (如果你能够的话;我不知道公共卫生和社会福利部是否允许这样做),或者说在你的法典中使用不太记忆。

您的网页是用大量记忆吗? 如果是的话,可能提高限额(或将其定为-1,在允许无限制的记忆使用方面,这种限制有些危险)是正确的。 否则,就通过您的法典寻找你能够有效地泄露记忆的地方。 在你发现犯罪科之前,你可能会试图用“dummy”区取代你的网页。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签