Re: Memory Allocation Error



On Nov 6, 8:35 am, heavycca...@xxxxxxxxx wrote:
I have a script that reads a 120 MB remote file. This raises a Memory
Allocation Error unless I use:
ini_set('memory_limit', '130M');

I doubt this is good for my server... I tried both fopen and

Did you try reading the file in smaller chunks instead of the total
file?

Cheers
Martin


------------------------------------------------
online accounting on bash bases
Online Einnahmen-Ausgaben-Rechnung
http://www.ea-geier.at
------------------------------------------------
m2m server software gmbh
http://www.m2m.at

.



Relevant Pages