I am running an acceptance test from Command Line, which internally calls pdfminer
python script method for conversion of Pdf into Text. I have provided the PDF2TextLibrary
which has the code to convert Pdf into text using pdfminer library.
But while I run the test i get the error :
ClassFormatError: Invalid method Code length 85551 in class file pdfminer/glyphlist$py
The issue was resolved by dividing the file into smaller chunks. And the reason was that Java implementation has limit of 64KB for a class file. So in my case the class was evaluating to a size of 446KB.