Timeout when converting exel document

I have an XLSX document with 1 million lines, some text at the beginning and some element in line 999 950, if I try to convert it in PDF or HTML with Aspose the process is gone fall in timeout.
The XLSX document is in the zip
Aspose.Cells version 20.4.0.0

doc.zip (216.9 KB)

@julien.mevel.isilog,

Thanks for the template file.

I checked your template file by opening the file into MS Excel and take the print preview of the first sheet. I noticed there are billions of pages and lots of blank or unnecessary pages, so surely it will take time to render huge list of pages to PDF. Please remove those unnecessary blank pages before rendering to PDF, see the sample code segment for your reference that you may try before rendering:
e.g
Sample code:

 foreach (Worksheet sheet in workbook.Worksheets)
            {

                sheet.Cells.DeleteBlankRows();
                sheet.Cells.DeleteBlankColumns();
                
            }
.......

Let us know your feedback.