Skip to main content
Inspiring
March 25, 2019
Question

Error creating cfchart with format="png"

  • March 25, 2019
  • 1 reply
  • 578 views

Hi,

I have some big charts which I want to output as png format. ( I need the png to send it afterwords to pdf output, otherwise I would use html format)

In ColdFusion 11 it is running well, but in Cf2018 I get the following error:

Encountered code generation error while compiling script: generated bytecode for method exceeds 64K limit. (<cmd>#1)

Is there a way to increase the limit?

Or is there another solution?

Thanks for help in advance!

Claudia

This topic has been closed for replies.

1 reply

elisabethf82215657
Inspiring
November 12, 2020

Hi everybody!

I have the same problem right now - is there any solution to this?
(I tried html, but it throws the same error)

Thanks for any help!

Elisabeth

elisabethf82215657
Inspiring
November 12, 2020

I am sorry - I found out, the problem was in the data the chart was generated from.

No idea why this made no problems before the CF 2018 migration!

Regards

Elisabeth