How can the continuous increase in physical memory usage be solved?

Repeatedly creating and deleting a large number of actors will lead to a continuous increase in physical memory usage. May I ask what the reason is? How can it be solved?

Hey there @lion234523! Welcome to the community! Depending on your use case, object pooling is one of the more standard ways to keep memory issues down when using/tossing tons of actors.

A video with some examples:

1 Like