Re: Memory Allocation Error
- From: Martin Mandl - m2m tech support <martin.mandl@xxxxxxxxx>
- Date: Tue, 06 Nov 2007 08:04:49 -0000
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
.
- References:
- Memory Allocation Error
- From: heavyccasey
- Memory Allocation Error
- Prev by Date: Memory Allocation Error
- Next by Date: Re: [PHP] Memory Allocation Error
- Previous by thread: Memory Allocation Error
- Next by thread: Re: [PHP] Memory Allocation Error
- Index(es):
Relevant Pages
- Re: mail
... I've checked my php.ini all the setting are right but the mail function is ...
online accounting on bash bases ... m2m server software gmbh ... (php.general) - Re: Smarty Website down?
... If you just need the forum - it is on another server: ... good luck ...
online accounting on bash bases ... (php.general) - Re: header (Location: ) not working on web server
... when I upload it to the server. ... aware of any configuration settings
that I might need to change. ... is configured to show those warnings, it will work on
the first server ... online accounting on bash bases ... (comp.lang.php) - [Full-disclosure] Multiple vulnerabilities in solidDB 06.00.1018
... Platforms: Windows, Solaris, AIX, HP-UX and Linux ... B] crash caused by arbitrary
array index ... D] server termination through allocation error ... (Full-Disclosure) - Multiple vulnerabilities in solidDB 06.00.1018
... Platforms: Windows, Solaris, AIX, HP-UX and Linux ... B] crash caused by arbitrary
array index ... D] server termination through allocation error ... (Bugtraq)