Ok after a very hard work I figured out that the memory issue is from ENTITY,
after I take a look at the "atype.h" header and compared it with the one came with A7 v7.0.7 the difference is in the ENTITY struct there is two additional pointers to ENTITY which are
"
struct ENTITY* shadow; // shadow sprite or model
struct ENTITY* parent; // parent entity
"
so to see this by your self try two scene with only one ENTITY the difference is more obvious when more than one entity is created.
in my scene there is more than 100 entity so the memory increased about 100 Mega bytes
if there is a solution for this I'll be thankful
thanks in advance
Mysterious
