Page 1 of 1

How to clear old maps? I am present utility SpringRTSMapCleaner

Posted: 04 Oct 2015, 13:30
by playerO1
Hello. After long time Spring take more disk space by stored new items:
  • replays (demo files)
  • maps
  • mods
  • same cache
The Spring lobby, as an other lobby for Spring like auto download any maps where coming into host. Or we press "Download map" where see new map without preview. After year the map folder can collect too much maps.
The mods with lobby auto download, as I can see, have strange "torrent-like" structure, and if same of files was equals not contain too much disc space. But contain space in same lobby list items - too long scrolling when select mod.
Replays we can just delete. Cache - too.
After long time playing Spring RTS, I found that my maps folder stored more that 600 maps with size over 10 Gb :shock: . I not have big problem with hard disc space, but I have problem with lobby: at the first - the Spring lobby eat too much memory where try show all maps preview and often crash where do it, at the next - too long scrolling for find map.

So, I make program on Java for learning programming files and Swing GUI for make automate remove old map process. My first version testing only on Linux. But it can possible work on Windows too, if set true folder.
https://github.com/playerO1/SpringRTSMa ... aster/dist screenshoots: https://github.com/playerO1/SpringRTSMa ... aster/docs

How are you solve this problem?
p.s. I don't know what part of forum will be better for it and post to here.

Re: How to clear old maps? I am present utility SpringRTSMapCleaner

Posted: 04 Oct 2015, 20:37
by Silentwings
You can tell SL to show previews only for new maps, or popular maps, or all maps.
Image
To clear old maps, I delete manually.

Re: How to clear old maps? I am present utility SpringRTSMapCleaner

Posted: 05 Oct 2015, 11:45
by abma
playerO1 wrote:After long time playing Spring RTS, I found that my maps folder stored more that 600 maps with size over 10 Gb :shock: . I not have big problem with hard disc space, but I have problem with lobby: at the first - the Spring lobby eat too much memory where try show all maps preview and often crash where do it, at the next - too long scrolling for find map.
Which version of springlobby are you using? ATM there is only one bug known where an very old version of spring causes springlobby to crash. also memory usage should be heavily reduced in latest release as a mem-leak was fixed.

Re: How to clear old maps? I am present utility SpringRTSMapCleaner

Posted: 05 Oct 2015, 21:26
by playerO1
SpringLobby 0.224, where I press "All maps" - lobby can srash. Ok, don't crash, just eat 2,4Gb of RAM. But have too much unplayable maps not good.
So, someone know how to remove same old MOD without delete all auto-downoad MODs?

Re: How to clear old maps? I am present utility SpringRTSMapCleaner

Posted: 05 Oct 2015, 23:31
by abma
you should update to springlobby 0.236 then, this should reduce memory usage...