My instances go down because of heap space issue frequently and when I take the thread dump it is always failing at
Current CompileTask:
**C2:8428** ! //The number will vary org.apache.poi.ss.util.SheetUtil.getColumnWidth(Lorg/apache/poi/ss/usermodel/Sheet;IZ)D (799 bytes)
JavaThread "CompilerThread1" daemon [_thread_in_native, id=12321
This is a compiler thread and it is requesting for nearly 18gb of memory when it fails.
We are using apache po version 3.8-beta4.
I am not using getColumnWidth function anywhere but look like the autoSize method is calling this function.
Any idea why this should request for 18gb of mem and why it is a compiler thread?
The application server is Jboss 5