Very slow (? hang ?) on SS_SAVE

Scott Klement's open source interface to the POI HSSF/XSSF Spreadsheet Project for RPG Programmers. http://www.scottklement.com/poi/
Post Reply
jtaylor___
Posts: 2
Joined: Tue Apr 29, 2025 12:46 pm

Very slow (? hang ?) on SS_SAVE

Post by jtaylor___ »

I'm creating a very large XLSX file. At the 20 minute mark, it's finished creating 1 million rows, and the call stack shows procedure SS_SAVE. At the 9 hour mark, it's still in SS_SAVE. It seems unreasonable to me that it should take that long.

Is there anything I can do to speed it up, or to determine what's taking so long?


Thanks
jonboy49
Posts: 244
Joined: Wed Jul 28, 2021 8:18 pm

Re: Very slow (? hang ?) on SS_SAVE

Post by jonboy49 »

I have no clue as to a direct answer to your problem - but I can't help but wonder if there is not a better approach. Frankly I'm amazed that the process didn't just blow up at some point.

A multi-million-row spreadsheet seems insane - nobody can usefully work with that.

Can it not be grouped to produce separate files or for that matter multiple sheets within one file?
jtaylor___
Posts: 2
Joined: Tue Apr 29, 2025 12:46 pm

Re: Very slow (? hang ?) on SS_SAVE

Post by jtaylor___ »

Personally, I have no issue with the 65535 row limit for XLS. If you need more rows, you're probably doing something wrong.

That being said, management wants more that 65 K rows. I'm testing XLSX to find practical limits. By expanding the JVM heap, I was able to get 1 million rows added, but the save operation didn't finish in the time I had to work with.
Post Reply