Issue with displaying large base64 PDF on Retool

I am using a custom component to handle PDF display on Retool, with the data being the base64 of the PDF.
However, it seems that when I query the base64 PDF from GCS with a large size of around 100MB, Retool freezes, and I am unable to get the returned data. But when I check the state, it appears that the data is already there.


When I click on the data in State, I receive a "waiting for response" popup or error page.

Is this a limitation of Retool when working with large files?
Does anyone have any alternative solutions?
Thanks in advance!

Hi @nhanhv thanks for reaching out! Unfortunately, that sounds relatively expected :disappointed: We have a 100 MB restriction on individual query response sizes & I would expect performance to be relatively poor when getting close to that limit

A best practice would be breaking up the data into smaller chunks