Hello > on a linux system (Suese 10.2) with 1 GB memory its not possible to upload > via http a 1 Gb File. Thats no limit problem on my php config. i can look > the mem stats when uploading and the growing tmp file. If the temp file has > 900 MB, Main Memory free is 0 and the script aborts and php deletes the tmp > file. > > Why don't php use swap memory ? no need for swap my system OpenSuSE 10.3 512MB RAM my uploaded file -rw-r--r-- 1 wwwrun www 1000000000 8. Aug 09:39 mytestfile.out memory befor upload and during upload are nearly the same and no swap total used free shared buffers cached Mem: 510488 504728 5760 0 60728 301476 -/+ buffers/cache: 142524 367964 Swap: 2104432 28756 2075676 a du shows that the tmp file is greater as the memory du -h /tmp/phpMmAGdN 659M /tmp/phpMmAGdN and grows du -h /tmp/phpMmAGdN 663M /tmp/phpMmAGdN So i think your script is wrong maybe you trie to read the hole contend from the upload file in a variable so you reach the memory post your script ro see if its is correct. BR/Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php