Hmmm ... that's strange.

Since I use ent_purge before changing the level for all entities created by ent_create all video memory is set free.

When I delete those lines the video memory gets less everytime I change the level.

I'll try to dig a little deeper into that ...