pdf downloading taking time and show error

hi team , i make a flow for pdf downloading . it retrieves data from the entity and sends the data to the pdf template  and then download   . but when i try to downlaod it , it takes lot of time to process and at the end an error popup comes i.e 'contact to your administrator' .   please explain in brief how i can optimize it with large data download  .   thanks in advance !!!!
0 answers