[DiscordArchive] how come PreloadAllNonInstancedMapGrids=1 uses 9GB of RAM when client data is ~2.6GB?
[DiscordArchive] how come PreloadAllNonInstancedMapGrids=1 uses 9GB of RAM when client data is ~2.6GB?
Archived author: Shudza • Posted: 2024-08-07T14:26:06.904000+00:00
Original source
how come PreloadAllNonInstancedMapGrids=1 uses 9GB of RAM when client data is ~2.6GB?
Archived author: Honey • Posted: 2024-08-07T14:27:22.400000+00:00
Original source
That's because the server stores vastly different things about maps than the client does. E.g. every entitiy inside each map. The client only shows the little bit around you.
Archived author: Foe • Posted: 2024-08-07T14:29:15.998000+00:00
Original source
It's primarily precalculated pathfinding data
Archived author: Foe • Posted: 2024-08-07T14:29:35.242000+00:00
Original source
By preloading you also keep this in memory indefinitely
Archived author: Shudza • Posted: 2024-08-07T14:29:51.864000+00:00
Original source
I think other emulators use pretty much the same amount of memory as the files. So I was wandering why is AC different
Archived author: Foe • Posted: 2024-08-07T14:30:07.285000+00:00
Original source
AC doesn't unload anything
Archived author: Foe • Posted: 2024-08-07T14:30:27.527000+00:00
Original source
So by you preloading everything, it stays active and doesn't get unloaded
Archived author: Foe • Posted: 2024-08-07T14:30:37.103000+00:00
Original source
So your memory usage is much higher
Archived author: Honey • Posted: 2024-08-07T14:30:38.056000+00:00
Original source
In other words, these numbers aren't meant to be compared at all.
Archived author: Shudza • Posted: 2024-08-07T14:35:19.006000+00:00
Original source
got it, thanks