Memory consumption during launching



  • I have a QML application which often hangs during launch. After digging it I found the GPU memory usage as 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?

    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