Sling Error on Page Exceeding Bytes Limit | Community
Skip to main content
November 27, 2019
Solved

Sling Error on Page Exceeding Bytes Limit

  • November 27, 2019
  • 1 reply
  • 2248 views

The code of method render(PrintWriter, Bindings, Bindings, RenderContext) is exceeding the 65535 bytes limit

I'm just extending the functionality of an existing component and I am now receiving this error. If I remove a certain amount of the code (Any code) The component functions properly again.

Does anyone have any solutions to this?

Version: 6.4.6.0

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mahamood

I believe if the code exceeding the specific limit in given file you will see this exception. You need to have the logic split in 2 different file.

I followed the same approach and it worked.

1 reply

MahamoodAccepted solution
Level 3
November 27, 2019

I believe if the code exceeding the specific limit in given file you will see this exception. You need to have the logic split in 2 different file.

I followed the same approach and it worked.