Commit 142578f
committed
perf: implement streaming XML parsing for large folder operations
- Add StreamingReadFolderRemoteOperation for memory-efficient folder reading using SAX parser
- Add PropFindSaxHandler for streaming XML parsing of PROPFIND responses
- Prevent OutOfMemoryError for folders with thousands of files by avoiding full XML loading
- Integrate streaming parser into RefreshFolderOperation with fallback to legacy method
- Add batch processing for large folders (500 files per batch) in FileDataStorageManager
- Improve logging levels and add thread name tracking for better debugging1 parent a2bd815 commit 142578f
4 files changed
Lines changed: 814 additions & 2 deletions
File tree
- app/src/main
- java/com/owncloud/android
- lib/resources/files
- operations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
0 commit comments