Yes, the total memry from your setting is sum of all cache_size and mem_size
Out of 32MB for CMEM, 2 MB is reserved for DCC and rest to streaming, so you should be less than 30MB
So, it is 0x200000 + 0x200000 + 0xA00000 + 0xA00000 + 0x200000 + 0x200000 + AUDIO_CACHE_SIZE + AUDIO_MEM_SIZE < 30MB
which is 2MB +2MB+ 10MB + 10MB + 2MB +2MB + audio < 30MB
Can you check that your usecase is refering to MEM_LAYOUT_512MB index and picking other index?
Regards,
Raghu