Open Vedabahu opened 2 months ago
Hi! Could you try running it again with the RUST_LOG
environment variable set to ludusavi=trace
, and then send me the log files? That would help narrow down if there's a specific game that's trying to back up way too much. I'm not able to reproduce this locally, so I may not have the right game to trigger it.
Also, was this working previously for you? If so, do you know the timeframe between when it was working and when the error started?
Hi! Could you try running it again with the
RUST_LOG
environment variable set toludusavi=trace
, and then send me the log files? That would help narrow down if there's a specific game that's trying to back up way too much. I'm not able to reproduce this locally, so I may not have the right game to trigger it.
Here you go
Also, was this working previously for you? If so, do you know the timeframe between when it was working and when the error started?
Yes, it was working before. It started on 19-07-2024. All of the backups before that were working properly. After it failed once, I updated ludusavi to 0.24.3. thinking that it would solve the problem but the problem persisted.
Here you go
It looks like you may have set ludusavi=debug
rather than ludusavi=trace
. Could you provide trace logs as well please?
Here you go
It looks like you may have set
ludusavi=debug
rather thanludusavi=trace
. Could you provide trace logs as well please?
Oh, my bad. Here you go:
Thanks! I'm not sure of the cause yet, but I do see a couple of interesting things:
Could you try with this build as well?
I've made a few tweaks to help narrow down the issue:
The scan will be much slower (took 1.5 minutes on my system), but it should be easier to tell exactly where it fails and if Nine Sols still has a gap beforehand. Also, the log file will be rather huge, but zipping helps 😅 (125 MB -> 6 MB for me).
Okay, it's 100% related to Nine Sols. How large are your existing backups of it? It looks like it took 30 seconds just to load the most recent backup for that game. Would you mind sending me a copy of your Nine Sols backups so I can check them out? (unless they're multi-GB, then just the mapping.yaml
should be enough)
Here you go. These are the last 2 backups.... and the mapping.yaml
file is for the newer backup.
One thing that I noticed is that the size of the registry.yaml
file changed drastically from the old backup to the new backup. It went from 363KB to 108MB.
Old backup:
New Backup:
In both cases, the overall zip
file that was uploaded to g-drive still remained around 6MB.
I have zipped it because Github does not allow me to upload yaml files here.
Thanks, it does look like the memory usage is ballooning when Ludusavi parses that registry.yaml. I see it spiking by ~1 GB in Task Manager. I'll try to find out if we can reduce that or at least put a safeguard limit on the registry data.
In the meantime, I've updated the manifest (https://github.com/mtkennerly/ludusavi-manifest/commit/9d0d0d243568a97136c5a144e76abc8a91382709) to ignore the registry for Nine Sols. I recommend deleting the Nine Sols backup folder and just making a new backup. You can use the refresh button on the "other" screen to force it to download the updated manifest right away.
Ludusavi version
v0.24.3
Operating system
Windows
Installation method
Scoop
Description
It says :
I don't think it is supposed to allocate 14 GB of memory....
Logs
Logs:
Command run: