i find problem why vmaps not load #2215 .
worldserver start with 600 mb of memory, and after 2 hour when have 10x players in server , this used 90% of memory . when use 90% , vmaps not load.
In fact, the main problem is overuse of memory.
10 min uptime with 3x player :
https://mega.nz/#!W9UTEAZI!EWFDAaeK4qWOMPLHxTy8a9M7Yrmt5sS6yJBHKgvMMPg
15 min uptime with 5x player :
https://mega.nz/#!qsNVhCwY!OnZ2iBjEikihbgB59oTXlOki6pfqIh16Dh7AiUo7O6k
master
https://github.com/azerothcore/azerothcore-wotlk/commit/67d180ea776a171c6d660d964d6454ea504ce55b
Windows Server 2016 Ram 4
nothing
nothing
This is normal behaviour. 4 GB RAM is not enough, in my opinion you need at least 6 GB for your case in order to have enough resources left for the OS. My own server installation uses ca. 1.8-2 GB with only 1 player (myself) on Ubuntu 16.04.
And why exactly you think it's a memory leak?
Operating system | Debian Linux 9 @ 4.20GHz, 8 cores ~60GB ram
4 days uptime server pop low ~6 gb ram
14 days uptime same pop ~10 gb ram
https://ibb.co/5TZS1M9
I recommend you switch to Linux with larger resources, the server uses about 4GB RAM even if no one is playing
closing as there is no evidence of a real memory leak
using much RAM != memory leak
improperly using RAM == memory leak
In computer science, a memory leak is a type of resource leak that occurs when a computer program incorrectly manages memory allocations[1] in such a way that memory which is no longer needed is not released. A memory leak may also happen when an object is stored in memory but cannot be accessed by the running code.
@Stoabrogga @FrancescoBorzi @zabustak
As you say, after a few days the memory must to be filled.
So every time the memory is full Vmaps will not load.
What solution do you suggest for when memory is full?
You can't always check the amount of RAM and restart the server.
Ican, Confrim.
For test
I tested:
If Memory is Usage 20%
I will to move and join maps, server/core unload grids "Cache"
This will increase memory, Changed to 58% Usage!
This will increase memory!
"disable, does not work"
Ican, Confrim.
For test
- set to GridUnload = 1 or 0
- gm, mod speed + fly on and move to maps
- memory will to leak for enter character to the maps, "Grids"
I tested:
If Memory is Usage 20%
I will to move and join maps, server/core unload grids "Cache"
This will increase memory, Changed to 58% Usage!This will increase memory!
"disable, does not work"
Azeroth don't have GridUnload config.
There is a parameter "GridUnload":
https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/server/worldserver/worldserver.conf.dist#L213
Default is "1", which means that grids which are not active anymore will unload after 5 minutes. As I see it there's no other option but to increase RAM @LichKing255 .
There is a parameter "GridUnload":
https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/server/worldserver/worldserver.conf.dist#L213Default is "1", which means that grids which are not active anymore will unload after 5 minutes. As I see it there's no other option but to increase RAM @LichKing255 .
my friend, this don't add on World.cpp. and don't use any where.
@LichKing255 as mentioned before, for an AC production server you definitely need more RAM.
as written in the FAQ
2 - Why is AzerothCore using more ram than TrinityCore?
AzerothCore is based on SunwellCore (a fork from TC). SunwellCore was a public server with 4000 players online and they made sure their core could handle that amount of player easily. Reading data from the ram is much faster than reading from the hard disk (there are entire systems based on this principle). That鈥檚 one of the reason there is a bigger ram usage.
so AC uses more RAM in order to provide better performance
@LichKing255
You're right about the parameter, it is not used anywhere. That's interesting, never thought of this. Sorry, but then I have no idea why this parameter is even there, should be removed.
@LichKing255 as mentioned before, for an AC production server you definitely need more RAM.
as written in the FAQ
2 - Why is AzerothCore using more ram than TrinityCore?
AzerothCore is based on SunwellCore (a fork from TC). SunwellCore was a public server with 4000 players online and they made sure their core could handle that amount of player easily. Reading data from the ram is much faster than reading from the hard disk (there are entire systems based on this principle). That鈥檚 one of the reason there is a bigger ram usage.so AC uses more RAM in order to provide better performance
ok, but you say, after a few days the memory must to be filled even if I have 12 gigs of RAM
So every time the memory is full Vmaps will not load.
What solution do you suggest for when memory is full?
You can't always check the amount of RAM and restart the server.
@LichKing255 at some point it will stop growing, otherwise we have a memory leak indeed :)
@LichKing255 at some point it will stop growing, otherwise we have a memory leak indeed :)
It stops for a few minutes, but continues again. So why closed this issue?
@LichKing255 because it is expected to stop at some point. 4 GBs are not enough for sure.
I think this problem should be check, There are many reports on this
Issuse , search "Memory Leaks" , but all closed !
omg NO memory leaks in grids/maps/vmaps its normal behavior for ACE and current core design
stop post this bullshit
TC use boost ITS ANOTHER LIBRARY AND HANDLE OF MANY THINGS GOING IN ANOTHER WAY fucking idiots
@LichKing255 because it is expected to stop at some point. 4 GBs are not enough for sure.
@FrancescoBorzi reopen plz. @wowmane and #1887 #1525 #508 all have problem.
@wowmane have higher ram
when using different libraries AC(ACE) TC(boost), the processes inside the core run differently
and we can't compare AC to TC for CPU/memory usage.
STOP THIS INSANE SHIT PLEASE!!!!!111121
@LichKing255 again, using higher RAM is NOT an issue (and not a memory leak indeed).
If the memory keeps growing ENDLESSLY then we have a problem. At the moment I don't see any report about it.
@FrancescoBorzi just ban them they are idiots...
when using different libraries AC(ACE) TC(boost), the processes inside the core run differently
and we can't compare AC to TC for CPU/memory usage.
i don't compare AC AND TC, if see task manager on windows you see every min use more memory. just stop for few minutes and again Continues.
@FrancescoBorzi just ban them they are idiots...
You have a conflict with yourself. Please exit this report.
@LichKing255 again, using higher RAM is NOT an issue (and not a memory leak indeed).
If the memory keeps growing ENDLESSLY then we have a problem. At the moment I don't see any report about it.
Okay, I'm upgrading Ram and reporting the result. But the result doesn't change because @wowmane has higher RAM and still has trouble.
@LichKing255 yes please. I don't see which "problem" wowmane has. Using more ram is not necessarily a problem.
For the last time, the problem is when it increases endlessly.
@LichKing255 yes please. I don't see which "problem" wowmane has. Using more ram is not necessarily a problem.
For the last time, the problem is when it increases endlessly.
i upgrade ram to 6, after 15h uptime again ram is full and vmaps not load.
https://mega.nz/#!ils12a5C!JWoQP_czVmTLjWJZ0HpF9XohrhiimLem5Cc0aYLlaws
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/G_Jewelblue.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/G_Jewelblue.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/G_Jewelblue.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Sholazar_Crystal_03.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dwarvenchair05.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dwarvenchair05.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dwarvenchair04.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Isleofconquest_Portal_Niche_Alliance_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Guildvault_Goblin_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Tirionstatue_Plaque.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Fountain_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/G_Water_Buckets_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/G_Water_Buckets_01.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Wt_Basket_03.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Wt_Basket_03.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Wt_Basket_03.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'
2019-09-12 12:53:33 ERROR: VMapManager2: could not load 'data/vmaps/Dalaran_Chair_02.m2.vmo'

@LichKing255 6 GB of RAM are not enough for an AC production server, especially if you are on Windows.
We suggest to increase your RAM to at least 16 GB if you need a server with players. And use Linux.

Memory usage is normal, only bandwidth usage is unusual, I think not too many people will notice, because there are not that many players
@LichKing255 6 GB of RAM are not enough for an AC production server, especially if you are on Windows.
We suggest to increase your RAM to at least 16 GB if you need a server with players. And use Linux.
16 GB ram for how much player ?
i upgrade ram to 10 GB. SEE !!!!!!
https://mega.nz/#!v5UkQApa!O76GJpJius47fPOkq_LPDj9O8KcixKfiCjIv0-6rzgk
https://mega.nz/#!jxU00KLB!s45TmRmh9a3B5BBTTWXl2RDZXgHlB_vcM3rR9MVxuUs
This does not make sense. 92 % ram for 20x player online ?
i know when players play on all map grid saved and creatures script working and ...
but how much core need ram for all creatures , gobs and ... ? and how much need for players ?
It is only growing and has no fixed size.
@LichKing255
Try
https://github.com/azerothcore/azerothcore-wotlk/pull/2283
and give informations...
@LichKing255
Try
2283
and give informations...
this just load all maps . not help for decrease memory size .
This is for TC and if disable Decreases the use of RAM !
Or Your Core Need to : Clear Fast/Core unload grids "Caches".
Clear Fast Server/Core unload grids "Caches" !?
this don't work because in source not used .
If you want use 6-8GB ram for 20 players install linux and its not joke
This is for TC and if disable Decreases the use of RAM !
Or Your Core Need to : Clear Fast/Core unload grids "Caches".
i try to add this on core . and i could . But it didn't efficacy
If you want use 6-8GB ram for 20 players install linux and its not joke
I haven't worked with Linux so far
@Viste
Not everyone can use Linux!
The source is provided for:
and I'Know this CacheDataQueries don't worked for Ac -
@Viste
Can added this "CacheDataQueries" for AC?
or
Can be reduced of Memory for AC?
windows is use more memory(and cpu) then linux... so pay more to hosting if you cant
@LichKing255
Please closed server and checked to how empty is your space on The Windows !
RM - CPU !
@LichKing255
Please closed server and checked to how empty is your space on The Windows !
RM - CPU !
7 % ram (mysql is run) - 0 % cpu
i don't have problem for cpu , if see pics less than 10%
OK, I Checked.
HOW MANY USAGE MEMORY AND CPU: AZEROTHCORE VS TRINITYCORE.
Power of ram and cpu : ram 15 / cpu 8 - os : linux = online players : 0
AZEROTHCORE:
RAM: 42.6%
CPU: 62.3%
TRINITYCORE:
RAM: 16.0%
CPU: 28.3%
image:


Windows, 48 players online
Windows, 48 players online
how much your ram ?
Windows, 48 players onlinehow much your ram ?
64gb
@LichKing255 VDS/VPS or real server?
@IceNet same question
@wowmane no sense to compare TC and AC as i say they have difference base libs and in kernel of core ))
AC forked from TC more the 8 years ago and dont have merges of base libs and etc about 6 years :))
Its a dedicated server
64 GB DDR4 ECC RAM
Cores 16 (32 threads)
2 x 450 GB NVMe in raid 1
@LichKing255 VDS/VPS or real server?
@IceNet same question
@wowmane no sense to compare TC and AC as i say they have difference base libs and in kernel of core ))
AC forked from TC more the 8 years ago and dont have merges of base libs and etc about 6 years :))
VPS
10 GB RAM DDR3
CPU Core : 4 / X5570 2.93GHz
hdd : sata
The @IceNet system is very giant but my system is not weak either.
I don't want to compare TC to AC, but TC runs on RAM 4 easily and without problems.
minimum RAM required is between 4GB and 16GB is very high.
It is true that AC was the same TC 5-6 years ago, but if you revert back Trinity to TDB 52 then you see no such problem.
I also agree that TDB 52 scripts are much less than AC, but this does not improve minimum RAM needed from 4GB to 16GB.
So far what I have learned: I think the only real difference concerning memory consumption between TC and AC is that TC supports unloading of grids of non-instanced maps and AC does not. This means that the memory usage of AC will gradually increase until all grids are in memory, which will finally take around 9 GB of additional RAM (for my server: 2 GB base usage + 9 GB additional = 11 GB total RAM used). This is naturally reached faster if many players are in the game and run around the world, it will take much longer if there are only a few players.
The @IceNet system is very giant but my system is not weak either.
Yes, i know. Say thanks to the 2nd admin, he wanted a overpowered server.. And a 2nd server with 8gb ram and 4cores for hp/forums/other webstuff.. just wtf..
TC supports unloading of grids of non-instanced maps and AC does not.
How is it possible that my server need only 3gb ram now. without restart?
So far what I have learned: I think the only real difference concerning memory consumption between TC and AC is that TC supports unloading of grids of non-instanced maps and AC does not. This means that the memory usage of AC will gradually increase until all grids are in memory, which will finally take around 9 GB of additional RAM (for my server: 2 GB base usage + 9 GB additional = 11 GB total RAM used). This is naturally reached faster if many players are in the game and run around the world, it will take much longer if there are only a few players.
i know this. but i revert gridunload from trinity to AC from compare TC And AC files:
src/server/game/Entities/Object/Object.h
src/server/game/Grids/Grid.h
src/server/game/Grids/GridStates.cpp
src/server/game/Grids/GridStates.h
src/server/game/Grids/NGrid.cpp
src/server/game/Grids/NGrid.h
src/server/game/Grids/ObjectGridLoader.cpp
src/server/game/Grids/ObjectGridLoader.h
src/server/game/Maps/Map.cpp
src/server/game/Maps/Map.h
src/server/game/Maps/MapInstanced.cpp
src/server/game/Maps/MapInstanced.h
src/server/game/Maps/MapManager.cpp
src/server/game/Maps/MapManager.h
src/server/game/World/World.cpp
src/server/game/World/World.h
src/server/worldserver/worldserver.conf.dist
if want can pull request but it didn't efficacy.
I don't want to compare TC to AC, but TC runs on RAM 4 easily and without problems.
minimum RAM required is between 4GB and 16GB is very high.
Unless you want to run your WoW server in your fridge or smartphone, the goal is not to use as little RAM as possible. Instead, it's about finding the best way to make use of memory in order to provide the best performance for your game server.
If that means caching things in order to reload them faster, why not.
I don't want to compare TC to AC, but TC runs on RAM 4 easily and without problems.
minimum RAM required is between 4GB and 16GB is very high.Unless you want to run your WoW server in your fridge or smartphone, the goal is not to use as little RAM as possible. Instead, it's about finding the best way to make use of memory in order to provide the best performance for your game server.
If that means caching things in order to reload them faster, why not.
Best performance for game server is good, but the proper use of system resources is also important and this is not observed in AC at all
I don't know if the link I am sending has anything to do with faster core performance, but this is an example of coding that doesn't know why it was written that way.
How is it possible that my server need only 3gb ram now. without restart?
Depends on how many players are on the server and what they do. If you have 100 players just hanging around in Dalaran playing dungeons you won't see much increase, as instanced maps are loaded and unloaded as needed.
@LichKing255
I think that implementing grid unload into AC could cause many implications and a very high effort to test everything. In my opinion the effort bears no relation to the use. If you want to use a wow emulator with a smaller memory footprint you have to look elsewhere.
@IceNet you have hardware server its bit different then VPS/VDS when i run sunwell or AC or TC on hardware server i'm to have minimum memory usage against VPS/VDS but in some hostings i get same results as in hardware i think some hosting badly configure their virtualization.
but the proper use of system resources your point of view is wrong sorry )))
sunwell was a server running all the time and played by a large number of people.
More than 2 thousand. And the sunwellcore starting point of AC configured for best performans in terms of heavy load, so they put everything that they could in the RAM, because it's a fast data storage.
Most helpful comment
Its a dedicated server
64 GB DDR4 ECC RAM
Cores 16 (32 threads)
2 x 450 GB NVMe in raid 1