Aspose を使用して docx ファイルを pdf ファイルに変換しているときに、このエラーが発生しました。この docx ファイルheap size
のコードは 44Mb です。
public void convertDoc(String Path, String destPath) throws Exception{
Document doc = new Document(Path); //At this line heap size error comes
doc.save(destPath);
System.out.println("doc converted to pdf");
}
助言がありますか?