If is is possible, you could insert a starting parameter, that manages the memeory allocation. I for example dont need entities to be managed, and only need Strings, var, and arrays for the communication.
so a parameter: maximum_managed_entities(x); would be good