[on-rev] LC code output bumping against a server size limit?

Phil Davis revdev at pdslabs.net
Mon Jun 24 20:50:34 EDT 2013


Hi Folks,

My on-rev LC server code takes data from many files and organizes it 
into an array. It then arrayEncodes and base64Encodes the array and 
"puts" it to the requesting app.

Normally the code works as expected, but when the encoded array 
approaches 8 MB, an internal server error (500) occurs. It seems to 
happen after the arrayEncode() executes and before (or when) 
base64Encode() is executed. (The two functions are back-to-back in the 
code.) Again, this only happens when the encoded array is approaching 8 
MB in size.

Is there an Apache setting or maybe a Linux setting that enforces an 8 
MB limit on thread size or something similar? That seems the most likely 
suspect of my problem to me. If so, can I increase the limit? Can you 
tell me how?

Thanks for your time.

-- 
Phil Davis





More information about the use-livecode mailing list