We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Stack overflow on huge HTML file

Hello!

Conversion of 19M html file always crashes. If i'm lucky - i get StackOverflowException otherwise my service crashes silently.

Stacktrace fragment:

> Aspose.Words.dll!x4adf554d20d941a6.xf0b374f4c0172a4c.x57b3c9e650685d36(x4adf554d20d941a6.x56410a8dd70087c5 x5906905c888d3d98 = {x4adf554d20d941a6.xee65f8567b84ecd3}, x4adf554d20d941a6.x56410a8dd70087c5 x62584df2cb5d40dd = {x4adf554d20d941a6.xf543de5d109f4fda}, x4adf554d20d941a6.x56410a8dd70087c5 x0e990edf4549ee50 = {x4adf554d20d941a6.xf543de5d109f4fda}, bool xa17853d20c8c42bd = false, bool x4d2b4f056cf5bb8b = false) + 0x3e bytes

Aspose.Words.dll!x4adf554d20d941a6.xf6937c72cebe4ad1.x028068b313735e89.get() + 0x3b bytes
Aspose.Words.dll!x4adf554d20d941a6.xfd32adc83f7de856.xf94fefe516850134(x4adf554d20d941a6.xf6937c72cebe4ad1 x311e7a92306d7199 = {x4adf554d20d941a6.xf6937c72cebe4ad1}) + 0x3d bytes
Aspose.Words.dll!x4adf554d20d941a6.xfd32adc83f7de856.x7f08a2bb903ca1ee(x4adf554d20d941a6.xf6937c72cebe4ad1 x311e7a92306d7199 = {x4adf554d20d941a6.xf6937c72cebe4ad1}) + 0x55 bytes
Aspose.Words.dll!x4adf554d20d941a6.xf6937c72cebe4ad1.xc821290d7ecc08bf.get() + 0x14 bytes
Aspose.Words.dll!x4adf554d20d941a6.xfd32adc83f7de856.x7f08a2bb903ca1ee(x4adf554d20d941a6.xf6937c72cebe4ad1 x311e7a92306d7199 = {x4adf554d20d941a6.xf6937c72cebe4ad1}) + 0x93 bytes
Aspose.Words.dll!x4adf554d20d941a6.xf6937c72cebe4ad1.xc821290d7ecc08bf.get() + 0x14 bytes
Aspose.Words.dll!x4adf554d20d941a6.xfd32adc83f7de856.x7f08a2bb903ca1ee(x4adf554d20d941a6.xf6937c72cebe4ad1 x311e7a92306d7199 = {x4adf554d20d941a6.xf6937c72cebe4ad1}) + 0x93 bytes
Aspose.Words.dll!x4adf554d20d941a6.xf6937c72cebe4ad1.xc821290d7ecc08bf.get() + 0x14 bytes
Aspose.Words.dll!x4adf554d20d941a6.xfd32adc83f7de856.x7f08a2bb903ca1ee(x4adf554d20d941a6.xf6937c72cebe4ad1 x311e7a92306d7199 = {x4adf554d20d941a6.xf6937c72cebe4ad1}) + 0x93 bytes
Aspose.Words.dll!x4adf554d20d941a6.xf6937c72cebe4ad1.xc821290d7ecc08bf.get() + 0x14 bytes

Aspose.Words.dll!x4adf554d20d941a6.xfd32adc83f7de856.x7f08a2bb903ca1ee(x4adf554d20d941a6.xf6937c72cebe4ad1 x311e7a92306d7199 = {x4adf554d20d941a6.xf6937c72cebe4ad1}) + 0x93 bytes

What can i do to avoid this if try/catch won't help?

With respect, Michael.


Hi there,

Thanks for your inquiry.

Can you please attach your HTML file here for testing? You may need to upload it onto an external hosting site.

Thanks,