OutOfMemoryError: Java Heap Space when opening MSG-file (Recursion problem)

Hi,

I’m currently stumbling over a issue with some MSG-files. When i’m trying to open/load a specific MSG-file, the JVM crashes with an out-of-memory-error.

I’ve tracked down the problem to a for-loop in the class-file “zuy.class” in the method “b”. The for-loop is caught in an endless-loop because the break will never be executed. When using another Java-library for processing MSG-files, this library says there is a recursion because of some broken bytes and throws an normal exception. Is there something I can do to prevent this kind of exception?

@s.glasenhardt

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input MSG file.
  • Please create a sample Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.