Do all the components throw this exception? Looks like you either have a very large Excel file or low heap space allocated. As suggested earlier, please try to increase the heap space. Moreover, if you still find the issue with Aspose.Cells for Java, you may contact our support team via
Aspose.Cells forum; we will have to investigate whether it is the size of the PDF file or particular structure which is causing the problem.