Re: Strange problem
| From: | Hardy Merrill | Date: | Thu, 25 Jan 2001 13:50:30 +0000 |
| Subject: | Re: Strange problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36614@lists.php.net to get a copy of this message | ||
The first thing I'd check is the space on the client machine
trying to do the download - that machine may be running out
of space. I can't remember exactly how the browser handles
this, but the client machine may need 2 times the size of the
file to be downloaded - it might first create a temporary file,
and then when the download is done, copy the temporary file to the
real file.
HTH.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
Jeroen Jochems [jeroen@jochems.net] wrote:
> When I try to download a big file (like 5meg) with fopen() I get some strange errors:
>
> - not enough space for lowio initialization
> - not enough space for stdio initialization
> - pure virtual function call
> - not enough space for _onexit/atexit table
> - unable to open console device
> - unexpected heap error
> - unexpected multithread lock error
> - not enough space for thread data abnormal program termination
> - not enough space for environment
> - not enough space for arguments
>
> I use the following code
>
> while (!feof($file)) {
> $line = fgets($file, 10000);
> fputs($localfile,"$line");
> }
>
> This always happens when he downloaded 981kb. Anyone know how to solve this?
>
> 10xzs
> - floating point not loaded