|
I believe POI loads the whole file into memory before it does anythingelse.
or change your program to write the file in Open XML. I have never done thelater, but I suppose it should be fairly straight forward.
I believe POI loads the whole file into memory before it does anything
else.
I've hit this several times when playing with it in Java. So that could
possibly be the issue. To see if this is the issue you could decrease the
memory on the JVM start-up and see if you get the error sooner.
Now I don't think there is a real good solution for this though. You could
either increase the memory the JVM uses on start-up or change your program
to write the file in Open XML. I have never done the later, but I suppose
it
should be fairly straight forward.
This is all just a guess, so I hope it might help at least a little.
HTH,
James R. Perkins
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.