Why will the out of memory error occured when the peak memory isn't reached

I was trying to get a qrcode bitmap from the storage use

Storage.getValue("wimg")

, but to get an error

Out Of Memory Error Details: Failed invoking <symbol> Stack: - onUpdate() at /Users/kent/AwesomeJumpingRope/source/ui/PayQrCodeView.mc:80 0x100004dd

When checking the memory, I found the peak was not reached

I think the size of the qrcode is less than 8kb. Is there anyway to check the size of the bitmap? 

I couldn't find  the object size of my bitmap from the internet in the memory inspector