DSJ laggy when returning to menu in online mode
DSJ laggy when returning to menu in online mode
Hi,
I have a issues with DSJ4. In online mode, after the jump before I return back to results menu I have 4-5 second lag. Sometimes it makes me not being able to even see the results. Especially when I have PB I have additional 5-6 sec lag and for other players it looks like I'm waiting... What is the cause of it? I tried reinstalling the game but this issue still persists. I have good PC and good connection.
Also I have the same lags in offline mode.
I have a issues with DSJ4. In online mode, after the jump before I return back to results menu I have 4-5 second lag. Sometimes it makes me not being able to even see the results. Especially when I have PB I have additional 5-6 sec lag and for other players it looks like I'm waiting... What is the cause of it? I tried reinstalling the game but this issue still persists. I have good PC and good connection.
Also I have the same lags in offline mode.
Re: DSJ laggy when returning to menu in online mode
I have the same issue too, there is ~1-2sec lag also after an offline jump, after exiting training settings and after leaving personal records page.
Lurker since 2001
Better player than Garrean (for around 25 minutes at a time until he tries harder)
Better player than Garrean (for around 25 minutes at a time until he tries harder)
Re: DSJ laggy when returning to menu in online mode
I have the same. After quiting settings in training mode I have 4-5 sec lag. The same with personal records page.Xinitiao wrote:I have the same issue too, there is ~1-2sec lag also after an offline jump, after exiting training settings and after leaving personal records page.
I did a little debugging and during all these lags CPU usage jumps from 6-8% to 20-22%.... ram is fine
Re: DSJ laggy when returning to menu in online mode
Issue solved. Reinstall with removing Documents\Deluxe Ski Jump 4 fixed the issue
-
- Site Admin
- Posts: 3661
- Joined: 22 Jan 2007, 14:42
- Location: Finland
- Contact:
Re: DSJ laggy when returning to menu in online mode
All these operations make changes to your player file. It's not doing anything heavy, so it's pretty weird that it takes that long.Xinitiao wrote:I have the same issue too, there is ~1-2sec lag also after an offline jump, after exiting training settings and after leaving personal records page.
What's the size of your .plr file at <Documents>\Deluxe Ski Jump 4\Players?
Re: DSJ laggy when returning to menu in online mode
It's 892KB right now.
Lurker since 2001
Better player than Garrean (for around 25 minutes at a time until he tries harder)
Better player than Garrean (for around 25 minutes at a time until he tries harder)
Re: DSJ laggy when returning to menu in online mode
I removed entire Deluxe Ski Jump 4 folder with rm -r -f without making a backup unfortunately... But as I said, reinstall with removing this folder solved the issue.Jussi Koskela wrote: ....
What's the size of your .plr file at <Documents>\Deluxe Ski Jump 4\Players?
-
- Site Admin
- Posts: 3661
- Joined: 22 Jan 2007, 14:42
- Location: Finland
- Contact:
Re: DSJ laggy when returning to menu in online mode
I was able to identify the problem:
1. Serializing player data to .plr file becomes very slow on large player files due to low performance string concatenation in C++ standard library.
2. Player file grows large if you jump on many different hills (and most importantly on many versions hills). Jump statistics are tracked for each version of each hill and they are saved even in practice jumps.
3. Jump statistics / PBs are not cleaned up from the player file even if the corresponding hill is not available any more.
As a solution I will improve the speed of the serialization. I could also add some functionality to clear statistics / PBs in player account for hills that have been removed.
1. Serializing player data to .plr file becomes very slow on large player files due to low performance string concatenation in C++ standard library.
2. Player file grows large if you jump on many different hills (and most importantly on many versions hills). Jump statistics are tracked for each version of each hill and they are saved even in practice jumps.
3. Jump statistics / PBs are not cleaned up from the player file even if the corresponding hill is not available any more.
As a solution I will improve the speed of the serialization. I could also add some functionality to clear statistics / PBs in player account for hills that have been removed.
Re: DSJ laggy when returning to menu in online mode
Thank you!
Lurker since 2001
Better player than Garrean (for around 25 minutes at a time until he tries harder)
Better player than Garrean (for around 25 minutes at a time until he tries harder)
Re: DSJ laggy when returning to menu in online mode
I have new issue. Not related to lags, but related to plr file. While doing some hill making, dsj4 freezed and I basically couldn't do anything on my PC so I had to do forced shut down. After this, when I want to enter the training mode I get an error
So there is also something else related to processing this file that made it corrupted and freezed pc. Maybe I can send this plr file for debugging purpose?
edit: I've checked the file and it's filled with white space, probably because of the forced shut down...
Code: Select all
Invalid file: C:\Users\...\Players\Grzegorz ....plr
edit: I've checked the file and it's filled with white space, probably because of the forced shut down...