eXpansionPluginPack / eXpansion2

The next generation server controller for maniaplanet using symfony components
http://mp-expansion.com/
MIT License
7 stars 3 forks source link

[Core]eXpansion has a mempry leak. Around 1mb at each map change #401

Closed oliverde8 closed 4 years ago

oliverde8 commented 4 years ago

Required information :

Explain the expected behaviour

  1. Server start memory usage is 42mb with map without any records.
  2. Users comes and goes
  3. Map changes
  4. Server without any users, memory usage still 42mb with another map without any records.

Explain the actual behaviour

  1. Server start on a map without records. Memory usage is 42mb
  2. Change maps 10 times
  3. New map has no record memory usage has spiked to 50mb.