When I expanded CGIDEV2's output buffer in the 2004-09-02 17:40:18 version, I incorrectly wrote in the README that the maximum buffer size is  "approximately 2 terrabytes."  I also misspelled "terabytes". 

Subsequently, I used this incorrect information in my responses to Easy400Group questions about the maximum buffer size.

I apologize to all for the error and thank Scott for pointing it out.

I'll ask Rich Diedrich to correct the README.

To summarize, CGIDEV2's maximum number of bytes that can be buffered before writing to the browser or a stream file is:
Before  the 2004-09-02 17:40:18 version: about 16 MB

Starting with the 2004-09-02 17:40:18 version: just under 2 GB

Mel Rothman
Mel Rothman, Inc.



Scott Klement wrote:
Hi Mel,

> Rich Diedrich just wrote to me about this and pointed out "The limit
> for teraspace allocation is just under 2GB and the (CGIDEV2) functions
> used to allocate the space use unsigned (4 byte) integers.  So your
> code was actually correct."

[SNIP]

> It seems that 2147483424 of dynamic storage should be more than enough
> to hold any HTTP response.

I agree 100% with these two statements.  I did not think that your code
was in error.  What I did think was in error was the following statement
that you made:

    "Assuming you are using CGIDEV2 Version 2004-09-02 17:40:18 or
     later, CGIDEV2's HTML output buffer can grow up to about 2
     terabytes."

This statement would be correct if you changed "terabytes" to "gigabytes".
My point was merely that your code as written would not support 2
terabytes.



SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer


YAHOO! GROUPS LINKS




Reply via email to