Hi,

I think the memory allocated to the BMAP is not destroyed when you call ptr_remove on the panel, because the BMAP is another object and should exist until you delete it explicitly (I think that you can use the same BMAP for different PANELS). If you don't need your BMAP anymore, you can 'ptr_remove' it. Anyway the BMAP will be removed when your game will close cause it's an engine object.