I have a QML application which often hangs during launch. I found the GPU memory usage has a very high peak when my application starts. Then it returns to a reasonable value.
If this "peak" is so high to use all the available memory my application (of course!) hangs.

This is a known behavior of QML engine or there should be a serious lack in my application?

For examaple below are some readings: it starts with 100% free, then drops down to 5 MB (sometimes goes to 0!) and it says there is an "invalid space". Finally comes back to 470 MB free and it will be stable.


Relocatable heap version 4 found at 0x13400000
total space allocated is 680M, with 680M relocatable, 0 legacy and 0 offline
0 legacy blocks of size 2359296

free list at 0x3b79c880
644M free memory in 6 free block(s)
largest free block is 625M bytes

0x13400000: free 668M
-------------------------------------------------------------------------------
Relocatable heap version 4 found at 0x13400000
total space allocated is 680M, with 678M relocatable, 2.3M legacy and 0 offline
1 legacy blocks of size 2359296

free list at 0x3b79c880
invalid space 0x3579139583 in free list at 0x382eef20
5.2M free memory in 5 free block(s)
largest free block is 4.5M bytes
-------------------------------------------------------------------------------

Relocatable heap version 4 found at 0x13400000
total space allocated is 680M, with 678M relocatable, 2.3M legacy and 0 offline
1 legacy blocks of size 2359296

free list at 0x3b79c880
476M free memory in 17 free block(s)
largest free block is 473M bytes

0x13400000: legacy block 2.3M

Relocatable heap version 4 found at 0x13400000
total space allocated is 680M, with 678M relocatable, 2.3M legacy and 0 offline
1 legacy blocks of size 2359296

free list at 0x3b79c880
472M free memory in 49 free block(s)
largest free block is 468M bytes
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to