I’m not sure that installation of new library can help.
It is hard to get code, I can make scren dump of object properties in debug mode.
But I will try to find more inforamtion.
In general I’m generating chart via Aspose.Cells , then converting it to image in order to insert into Word, and I have got OutOfMemory during Chart.toImage()
If issue is of chart.toImage(), we think you can save the workbook as an excel file first and then send the file to us. We will test the memory issue by converting charts in the excel file to images.
I tested and converted some of the charts in your template file (e.g first, second, third, fourth etc.) to Image files, it works fine. I am using latest fix: v7.0.2.5, please try it. I am using the following sample code:
Would you please try to open the same excel file in your JBoss environment and convert charts in it to images? If you can convert it to images successfully too, we think the issue maybe related with other parts of your program and we need your sample project or code to reproduce the issue.
I have found reason of a bug: if set MajorUnit property of a value axis to zero, it lead to OutOfMemory exception. I understand, that set major unit to 0 doesn’t have any sense, but, however, it shouldn’t eat all you memory and do application down. See attached code to reproduce the bug. I have tried this code on last Aspose.Cell version, 7.0.3, but it still doesn’t works.