WotLK world needs twice more memory ?

Hello everybody

Since about 2 or 3 months I have seen that the world server consumes about twice more RAM than before.

Before it needed about 1.2GB at startup. Now, it’s about 2.3GB. Maps are configured as unloading.

Depending on player activities it’s rising up to 3GB.

I’m on an Windows 8.1 PC, tested with a fresh core and database:
TrinityCore rev. 7b7dc1b50844 2018-05-12 13:59:34 +0200 (3.3.5 branch)

Is that correct? And if yes, what was changes in the code that it needs about 1GB additional memory? What is the advantage?

CacheDataQueries = 1

Thanks, it’s working.

As far as I understand ObjectMgr::InitializeQueriesData caches a lot of static data at core startup.

I think the power of this cache can be only measured on very high populated servers. Regarding the fact that server memory is always precious I recommend to set default CacheDataQueries = 0.