I have a game that dynamically allocates a large number of entities and type-variables. During the course of play, the entities are Freed and the type-variables are deleted.
There is a constant throughput of allocation and deallocation.
When I run the program for a slightly longer period, I experience the frame-rate dropping to nearly 1 fps for a couple of seconds and then it recovers.
However, after that first occurence, the frame rate degradation keeps repeating, alternating with periods of normal performance.
Does anyone know if some background garbage collection might be causing the slowdown? Or has anyone else come across this problem?
yinch'03
There is a constant throughput of allocation and deallocation.
When I run the program for a slightly longer period, I experience the frame-rate dropping to nearly 1 fps for a couple of seconds and then it recovers.
However, after that first occurence, the frame rate degradation keeps repeating, alternating with periods of normal performance.
Does anyone know if some background garbage collection might be causing the slowdown? Or has anyone else come across this problem?
yinch'03