Skip to content

Commit 142578f

Browse files
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 debugging
1 parent a2bd815 commit 142578f

4 files changed

Lines changed: 814 additions & 2 deletions

File tree

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@
118118
android:icon="@mipmap/ic_launcher"
119119
android:installLocation="internalOnly"
120120
android:label="@string/app_name"
121+
android:largeHeap="true"
121122
android:manageSpaceActivity="com.owncloud.android.ui.activity.ManageSpaceActivity"
122123
android:memtagMode="async"
123124
android:networkSecurityConfig="@xml/network_security_config"

0 commit comments

Comments
 (0)