Search Error The content length (897957165) is bigger than the maximum allowed string (536870888)

While filtering through logs we getting error: where it mentions content length is bigger. Where is maximum allowed string (536870888) is set- any suggestions to fix this error.

Sounds like its a change at nodejs / v8 - any recommendation on how to stay withing limits of new size 536870888