I'm dealing with a migration from ColdFusion 9 to ColdFusion 11. One issue I've run into is essentially the same as that detailed in this question: cf10 unable to add text to HTML Head
The root cause in my case is a particular page that weighs in at about 3 MB, which is bigger than the output buffer (which is at the default 1024 KB), and is causing CF to flush the cache. This in turn breaks a call to cfhtmlhead
in OnRequestEnd()
.
Redesigning the page is not a practical solution right now. (Maybe in the future.) My problem is "solved" by increasing the "Maximum Output Buffer Size" to 4096 KB.
What are the risks to increasing this value? There are other apps/sites on this server. Could there be memory issues? Performance degradation? (Trying to find a reference for this has been frustrating.)
The ColdFusion 11 Lockdown Guide says:
A lower output buffer size may reduce the memory footprint in some applications.
The server and JVM would seem to have plenty of memory.
Since there seems to be some confusion about which setting:
maximum number of simultaneous templates requests
25 * 4096 kb = 100 Mb. Again I must emphasize that i am not a 100% sure of the above. – Land