When we are generating large reports like the one i discussed in a
previous conversation we are running out of memory when calling the
write method of the Workbook class. A workbook that when stored takes
up 80 MB on disk, the write method temporarily allocates 300 MB of byte arrays.
Could the write method be optimized in some way to allocate less
temporary byte arrays?
Thanks for the update. I haven’t verified the memory consumption yet. I
will test it later today. However, when using the new
Cell.setValue(Object method) i received the following exception:
Exception in thread “main” java.lang.StackOverflowError