OneNote (Java) takes a very long time to load

We are experiencing 4+ hours load time on loading large ~1G files. Were using Java aspose-note 16.12.0.

Below is the JStack of at least one place it seems to be spending most of its time. Would it be possible to know what it’s doing here or what part of the file its parsing that is causing the huge delays. I understand that this is quite a big file, but load times of hours is not realistic.

“AWT-EventQueue-0” Id=30 RUNNABLE
at com.aspose.note.internal.eQ.e.a(Unknown Source)
at com.aspose.note.internal.aS.ak.a(Unknown Source)
at com.aspose.note.internal.aT.equals(Unknown Source)
at com.aspose.note.system.collections.Generic.List.indexOf(Unknown Source)
at com.aspose.note.internal.jy.e(Unknown Source)
at com.aspose.note.internal.jy.a(Unknown Source)
at com.aspose.note.internal.fr.d(Unknown Source)
at com.aspose.note.internal.jy.b(Unknown Source)
at com.aspose.note.internal.ip.a(Unknown Source)
at com.aspose.note.internal.ip.a(Unknown Source)
at com.aspose.note.internal.ch.a(Unknown Source)
at com.aspose.note.internal.ch.a(Unknown Source)
at com.aspose.note.internal.ch.a(Unknown Source)
at com.aspose.note.internal.ch.a(Unknown Source)
at com.aspose.note.internal.iF.a(Unknown Source)
at com.aspose.note.internal.G.a(Unknown Source)
at com.aspose.note.internal.ch.a(Unknown Source)
at com.aspose.note.internal.ch.a(Unknown Source)
at com.aspose.note.internal.W.a(Unknown Source)
at com.aspose.note.internal.U.a(Unknown Source)
at com.aspose.note.internal.U.a(Unknown Source)
at com.aspose.note.q.a(Unknown Source)
at com.aspose.note.Document.a(Unknown Source)
at com.aspose.note.Document.(Unknown Source)
at com.aspose.note.Document.(Unknown Source)
at com.aspose.note.Document.(Unknown Source)
at com.nuix.data.file.office.aspose.onenote.c.a(SourceFile:64)
at com.nuix.data.file.office.aspose.onenote.c.b(SourceFile:55)
at com.nuix.common.concurrent.e$$Lambda$7/402009651.call(Unknown Source)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.nuix.common.concurrent.e.get(SourceFile:56)
at com.nuix.data.file.office.aspose.onenote.b.a(SourceFile:125)
at com.nuix.data.c.a(SourceFile:81)

Regards
Nick

@nuix

Please use Aspose.Note for Java 19.1 and then let us know if you face the issue with it. If error occurs with latest version then use any third party service (e.g Dropbox, Google drive, etc.) to upload the file(s) (you may zip the archive if you want) there and share the Download link here. We will reproduce the problem and provide our feedback after analysis.