Posted By: Geist
How to decrease the nexus after using ent_remove? - 06/19/13 08:27
Hi,
I've been looking through related topics but there was no one fitting with my issue: I tried to generate a landscape at runtime using a chunks of tile-like entities and deforming them with the vertex functions. Once I remove an entity group (but keeping the entity pointer array) and re-create it after a while (depending on camera movement) the nexus hits implausible 2277 MB. As I create a new entity chunk the nexus reaches impossible dimensions of around 14361 MB.
I unsuccesfully tried to solve the problem using functions like level_free, ent_purge, sys_free as I thought it had something to do with the entity data that remains in cache after removing.. Do you have a solution for this?
Kind regards,
Geist
I've been looking through related topics but there was no one fitting with my issue: I tried to generate a landscape at runtime using a chunks of tile-like entities and deforming them with the vertex functions. Once I remove an entity group (but keeping the entity pointer array) and re-create it after a while (depending on camera movement) the nexus hits implausible 2277 MB. As I create a new entity chunk the nexus reaches impossible dimensions of around 14361 MB.
I unsuccesfully tried to solve the problem using functions like level_free, ent_purge, sys_free as I thought it had something to do with the entity data that remains in cache after removing.. Do you have a solution for this?
Kind regards,
Geist