× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi all
This is a final message, specially to Don Brown and other colleagues that
collaborate to solve this issue.
Since a week ago, this process is working, and now has been moved to
production. These are the elements that solved that problem:
1. We can start from an existing workbook following the second way of
constructing a streamed workbook.
2. Saved to excel file using write method from SXSSF class.
3. Closed the workbook explicitly (some of our processes call our functions
in a repeated loop, and failed because it remained opened)
3. changed heap limit from a max of 2G to a min of 2G and a max of 4G
The final issue was indeed memory, and now it works smoothly.
We had a curious incident: our first run created exactly 100000 rows, and
overwrite rows from 0 to 27000 aproximately. It happened because our row
variable was 5 integer digits, and rows passing that limit were truncated
converting row > 99999 in row 0, 1, and so on. Moving it to 7 was the
solution. The curious point is that probably the temporary file does not
have problems to write an existent row, overwriting the starting lines.
In sum, it works! thank you all for listening and offering solutions.
Kindly
Jorge Ubeda

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.