Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

java.lang.OutOfMemoryError: Java heap space

$
0
0

Hello,

we are using Aspose.Email for java (aspose-email-3.8.0.0-jdk14.jar) to extract some information from .msg files.

Following error is thrown when trying to load some "big" .msg files (size greater than 18MB) :

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

      at com.aspose.email.MapiProperty.<init>(Unknown Source)

      at com.aspose.email.ej.a(Unknown Source)

      at com.aspose.email.v.a(Unknown Source)

      at com.aspose.email.lh.a(Unknown Source)

      at com.aspose.email.MapiMessageReader.readMessage(Unknown Source)

      at com.aspose.email.MailMessage.b(Unknown Source)

      at com.aspose.email.MailMessage.a(Unknown Source)

      at com.aspose.email.MailMessage.a(Unknown Source)

      at com.aspose.email.MailMessage.load(Unknown Source)

Anyone had same issue ?

How to solve it ?

Regards,


Viewing all articles
Browse latest Browse all 1367

Latest Images

Trending Articles



Latest Images