s25client icon indicating copy to clipboard operation
s25client copied to clipboard

SWAP File is getting bigger and bigger

Open Runshak opened this issue 4 years ago • 13 comments

Hi, I´m playing on a new MacBook Air with M1 CPU. I am playing a quite large MAP with 7 Players.

So far so good. But during playing the Game is building a SWAP-File. At the beginning it was just 50GB but now its already over 100GB. Is this normal? The Software is at the newest Version (0.9.1 )

Performance is until now acceptable. Only during saving the FPS are dropping down.

Runshak avatar Dec 29 '21 06:12 Runshak

@Runshak what does "quite large" exactly mean? What sizes are we talking about here?

Spikeone avatar Dec 29 '21 11:12 Spikeone

can you please provide us with the map you're playing?

stefson avatar Dec 29 '21 11:12 stefson

Just need to know how to find out from a running game how big the size is. Or which files I have to attach

Runshak avatar Dec 31 '21 01:12 Runshak

The map file or the savegame would help. Anyway I think this is a configuration issue of your system as RttR doesn't "build a SWAP-File", the system does if the RAM is exhausted. And I don't see how RttR could consume >100GB of memory and especially run with acceptable performance.

Flamefire avatar Jan 21 '22 16:01 Flamefire

Hi,

The big swap-file I could solve after restarting my MacBook. I guess it was not an initial problem from RTTR. Maybe something went wrong because of MacOS. After restarting the whole System the SWAP file didn’t grow again and was just 5 GB.

Other issues during the game are:

  • the in game stats of the players are empty. Just can watch myself
  • big map can’t see details in the map overview in the game
  • ressources are not always used from the storage building -> buildings around it don’t get their needs but the storage building is full of it so the resources are often transported very far from other places.
  • in the Terminal you can see when an enemy (KI) give up the game. But ingame you don’t get a message about this.

The newest Replay, the newest Savegame, config.ini and ingameoptions.ini are attached to this mail (follow the Link).

Mit freundlichen Gruessen / Kind regards / 诚 挚 的 问 候

Markus Musterle

Runshak avatar Jan 24 '22 02:01 Runshak

The newest Replay, the newest Savegame, config.ini and ingameoptions.ini are attached to this mail (follow the Link).

There is no link - at least I can't see any, please attach a zip file

Spikeone avatar Jan 24 '22 09:01 Spikeone

Hi, the files are too big. Here the link again

https://www.icloud.com/iclouddrive/0a90ZYwSXSEXQxvgU0AEOkdhA#RTTR

Am 24.01.2022 um 17:15 schrieb Spike @.***>:

The newest Replay, the newest Savegame, config.ini and ingameoptions.ini are attached to this mail (follow the Link).

There is no link - at least I can't see any, please attach a zip file

— Reply to this email directly, view it on GitHub https://github.com/Return-To-The-Roots/s25client/issues/1481#issuecomment-1019878856, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADR2SFTPN5DO4PITDYJMF5TUXUKE3ANCNFSM5K5MK7AA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.

Runshak avatar Jan 24 '22 09:01 Runshak

@Runshak requires a login

grafik

Spikeone avatar Jan 24 '22 09:01 Spikeone

Hallo,

Markus Musterle @.***) hat Sie eingeladen, den Ordner „ RTTR “ in Dropbox anzusehen.

Markus Musterle schreibt dazu: „Sorry für die Probleme...“

1 Viel Spaß! Das Dropbox-Team Markus Musterle und weitere Nutzer können sehen, wenn Sie Dateien in diesem Ordner aufrufen. Auch bei anderen für Sie über Dropbox freigegebenen Dateien kann es sein, dass diese Informationen angezeigt werden. Mehr darüber erfahren2 Sie in unserem Hilfecenter.

Runshak avatar Jan 24 '22 09:01 Runshak

Dann eben Dropbox…scheiß iCloud Mist…

https://www.dropbox.com/sh/4d3tsuzqic62spz/AAAtx8AaCkbmX-hSHONCNuAIa?dl=0

Am 24.01.2022 um 17:37 schrieb Spike @.***>:

@Runshak https://github.com/Runshak requires a login

https://user-images.githubusercontent.com/1276342/150757883-724a3bcc-8712-4483-adf9-1f439e43a4cd.png — Reply to this email directly, view it on GitHub https://github.com/Return-To-The-Roots/s25client/issues/1481#issuecomment-1019899246, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADR2SFQTNUETGXISEDUGSILUXUMURANCNFSM5K5MK7AA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.

Runshak avatar Jan 24 '22 09:01 Runshak

Files: RTTR.zip

@Flamefire well, the savegame doesn't load for me (nothing happens, looks like an endless loop) and the replay crashes the game - so I sadly can't check anything :-/

Spikeone avatar Jan 24 '22 12:01 Spikeone

The savegame does load. It is just so huge it takes ages to transmit due to our capping to 60FPS which limits even local transmission. However it doesn't load then due to a dependency chain so large it crashes the stack.

So this might indeed be a bug: During saving the game might run out of stack space similar to on load. This is a known issue due to our saving approach caused by something like this: a flag has a ware which is for a warehouse which has a ware for a workplace which has a worker carrying a ware for another flag which has a ware for...

We currently don't support another approach to serialization than depth-first which leads to those issues. This needs a rework of the save-load stuff which will make all current savegames/replays unloadable :(

Flamefire avatar Jan 24 '22 16:01 Flamefire

Hi there,

In case you missed it, Markus Musterle @.***) shared "RTTR" with you on Dropbox.

Markus Musterle said: "Sorry für die Probleme..."

View on Dropbox1

Thanks!

  • The Dropbox Team

Dropbox, Inc. PO Box 77767, San Francisco, CA 94107 View Privacy Policy2 | Unsubscribe3

Runshak avatar Jan 29 '22 02:01 Runshak