Operating environment:
Device information: HUAWEI MatePad Pro
Machine model: MRR-W29
System version: HarmonyOS 2.0.0
Problem: Running our app, using AndroidStudio, it crashed before 1GB of memory was available.
Crash log information:
Could not allocate memory: System out of memory!
Trying to allocate: 25310B with 16 alignment. MemoryLabel: DynamicArray
Allocation happened at: Line:75 in
Memory overview
[ ALLOC_DEFAULT ] used: 600916429B | peak: 944389110B | reserved: 607460466B
[ ALLOC_TEMP_JOB ] used: 0B | peak: 0B | reserved: 3145728B
[ ALLOC_TEMP_BACKGROUND_JOB ] used: 0B | peak: 0B | reserved: 1048576B
[ ALLOC_GAMEOBJECT ] used: 5812624B | peak: 5863041B | reserved: 6525010B
[ ALLOC_GFX ] used: 23019376B | peak: 24012532B | reserved: 23072348B
[ ALLOC_TEMP_THREAD ] used: 33012B | peak: 0B | reserved: 3047424B
Androidmanifest.xml Application: android:largeHeap="true" How does HarmonyOS system break through the App memory limit, or have other solutions, as well as the idea of solving the problem? Thank you in advance for any guidance or assistance.