Re: Is stdout slow?
| From: | Luis Ferro | Date: | Fri, 29 Nov 2002 11:19:56 +0000 |
| Subject: | Re: Is stdout slow? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17213@lists.php.net to get a copy of this message | ||
Web browsers have to "calculate" the image-output of the page. IE is specially bad at this as it will generate an in-memory BMP with the full data. That will mean that a page with some millions of characters will generate a memory footprint that surpasses all the memory of the computer and starts to goble disk memory...
Cheers...
Luis Ferro
P.S.- There is no solution for this problem because web browsers wheren't designed to handle data that way...
Miha Nedok wrote:
It has to do with the browser. IE an others don't like *large* data specially in tables it will hang, just look take a look with the Task Manager and you'll see IE just going crazy. -Mike On Thu, 28 Nov 2002, Nicole wrote:--- [This E-mail scanned for viruses by Declude Virus]Date: Thu, 28 Nov 2002 23:37:10 -0500 From: Nicole <430ntr3k@bellsouth.net> To: php-windows@lists.php.net Subject: [PHP-WIN] Is stdout slow? I have a script that grabs some 250,000+ rows, 1 field. Then prints it to the screen. The problem is, it takes over 10 minutes just to print. The query itself takes under 30 seconds. So, is there a faster way to print out 5 million characters to the web page? This seems to be the slow part. Anyone experience this and find a solution? Thanks! Nicole -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php