Link to home
Start Free TrialLog in
Avatar of Koolandrew
Koolandrew

asked on

Allowed memory size of 12582912 bytes exhausted

Hi,
I am facing the following error please guide me what can be the reason of this error? I have attached the file as well its zip.php file please rename its extension.


PHP Fatal error:  Allowed memory size of 12582912 bytes exhausted (tried to allocate 91 bytes) in /home/httpd/vhosts/kooltel.com/httpdocs/zip.php on line 210

Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 91 bytes) in /home/httpd/vhosts/kooltel.com/httpdocs/zip.php on line 210


Thanks
zip.txt
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image

you should have more memory to run the php scripts,

atleast memory_limit = 32 MB
Avatar of Koolandrew
Koolandrew

ASKER

Hi,

But is i am allowed to use 12MB not more then that.
mmm, it is low, you need to increase it...

try to change as 20 M or 32 M check it...
Hi loqudotcom,

I already tell you that i am not allowed to increase the size more then 12MB, this is advice from our web hosting company, is there any other way to do it?

Thanks
it depends on the application you run with this memory.
sorry, i don't have new direction
Mean you suggest to increase the file size?

Is there any disadvantage of increasesing the file size?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

Our program fetch the records from the other server and create a text file after creating a file it convert that file into zip file.

The file which script genrates it can be more then 8 to 9 MB's.

Thanks
I have only one suggestion that you will have to increase the memory_limit and check it...

it may need 10 - 15 MB ..just check it
Thanks let me ask them either increase it or not.