ocs_wove created CAUSEWAY-3734:
----------------------------------

             Summary: Excel import slow
                 Key: CAUSEWAY-3734
                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3734
             Project: Causeway
          Issue Type: Improvement
          Components: Ext Core Excel
    Affects Versions: 2.0.0
            Reporter: ocs_wove
            Assignee: Daniel Keir Haywood


While importing an excel file for every cell that is read a property change 
event is fired and a command log entry is created. With large data sheets in 
Excel the performance is not good and an OutOfMemoryException may occur.

This can be changed by changing in _ExcelConverter class this line:

otoa.set(templateAdapter, valueAdapter, InteractionInitiatedBy.USER);

into:

otoa.set(templateAdapter, valueAdapter, InteractionInitiatedBy.PASS_THROUGH);

 

The PASS_THROUGH enum is documented as ment for e.g. serialisation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to