Github user kaspersorensen commented on the pull request:

    https://github.com/apache/metamodel/pull/56#issuecomment-145488372
  
    OK we finally figured out that the issue was with 
HSSFWorkbook.write(OutputStream). Please check the bug that we registered in 
POI: https://bz.apache.org/bugzilla/show_bug.cgi?id=58480
    
    For now we have a crude workaround which involves invoking System.gc() and 
sleeping for 800 ms. Not ideal at all. But seems to do the trick.
    
    Justification for keeping this workaround would be that it _only_ applies 
to "old" Excel .xls documents and it only applies when appending/updating 
workbooks, not when creating new ones.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to