title: heap size error Aspose
body: <p>while converting a docx file in pdf file using Aspose i got this <code>heap size</code> error.here is the code<br>this docx file is 44Mb<br/></p>
  
  <pre><code>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");
  
          }
  </code></pre>
  
  <p>Any suggestions?</p>