On Wed, 2009-03-04 at 15:05 -0500, Alice Wei wrote:
> Hi, 
>   I am working on a series of long files that contain 4 or 5 MB each, each of 
> them is encoded in UTF-8 saved as .dat format. 
>   However, I have noticed that when I do insert statements, the file only 
> reads up to around 1MB and then would stop. If I split the file into 3 or 4 
> files, that would hold no more than 1.2 MB each, then I won't have problems. 
>   Is there a limitation on how much data can be read and written in PHP 
> within one instance? 

See this setting in your php.ini:

memory_limit = ???M

Application and Templating Framework for PHP

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to