Skip to main content
Todd in Italy
Inspiring
December 26, 2023
Answered

Large report crashes ColdFusion

  • December 26, 2023
  • 1 reply
  • 1116 views

Hello,

I have ColdFusion 2021 HF 12 running on Windows Server 2016, connecting to an SQL database and to Crystal Server 2020 for generating reports. Everything works without issue until I request a report over about 400 pages. In that case, CF crashes with a generic 500 error when trying to open the report returned from Crystal Server. I cannot find where in CF I can configure a larger buffer or transfer limit to allow the larger file. Any suggestions? The report will be about 600 pages in pdf format.

Thanks,
Todd

This topic has been closed for replies.
Correct answer Todd in Italy

Ok trial ansd error. It was indeed Max size of post data. I increased it to 500Mb and the report no longer causes a 500 error.

1 reply

Known Participant
December 26, 2023

Yes, you can try with increasing RAM limit into CF administrator.
It may occur due to Heap Memory Usage.

Todd in Italy
Inspiring
December 26, 2023

Thank you. It is clear that some RAM limit needs to be increased. It is unclear which setting to adjust CF admin page. I see settings for Max Output buffer which should not be relevant, Mem limit for in_mem VFS (unknown), mem limit per app for VFS (unknown), Max size of post data (seems likely). Do you know which of these is relevant to returned report data?

Known Participant
December 26, 2023

Check attached file. Your server having enough RAM, and in CF21 administrator page in JAVA &JVM section if JVM heap size memory you are using default then please increase it. It may resolve your issue.