Hi there,

I'm wondering if there are any activities or plans for replacing xmlbeans with something else. I'm asking a) because the xmlbeans is retired and b) it has some issues in regards to memory usage and more important scalability.

As mentioned here http://stackoverflow.com/a/34266795/812093 and as we also saw in our application in threadumps like the following xmlbeans is locking on the Locale object which leads to waits if multiple threads tries to create an XSSF workbook at the same time

at java.lang.String.intern(Native Method)
at org.apache.xmlbeans.impl.piccolo.util.CharStringConverter.convert(CharStringConverter.java:110) at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseCdataLiteral(PiccoloLexer.java:3025)
        [...]
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1277) at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1264)
        - locked <0x00000007bc8f1708> (a org.apache.xmlbeans.impl.store.Locale)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345) at org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument$Factory.parse(Unknown Source)
        at org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:126)
        at org.apache.poi.xssf.model.StylesTable.<init>(StylesTable.java:97)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:60)
        at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:456)
        at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:162)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:241) at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:175) at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:143)


Best Regards

Kai

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to