eezstreet
Movie Battles II Team Retired
- Posts
- 242
- Likes
- 299
After many rounds (depending on the computer, sometimes as high as 100, sometimes as low as 20) the game will crash.
The following factors influence it:
- Changing maps
- What kind of PC you have
It's caused by a slow (but steady) problem: the game slowly loads all of the models and sounds and never purges this data.
As a workaround you can do snd_restart in the console and it will purge all sounds. This isn't perfect however since lifts and doors will not play their looping sound anymore.
I meticulously logged all of the memory information - both zone and ram being used. I also periodically checked the zone details to get further information (zone_stats/zone_details)
The following factors influence it:
- Changing maps
- What kind of PC you have
It's caused by a slow (but steady) problem: the game slowly loads all of the models and sounds and never purges this data.
As a workaround you can do snd_restart in the console and it will purge all sounds. This isn't perfect however since lifts and doors will not play their looping sound anymore.
I meticulously logged all of the memory information - both zone and ram being used. I also periodically checked the zone details to get further information (zone_stats/zone_details)
Code:
before round 1: 498MB RAM (146.54MB zone)
round 1: 513.4MB RAM (156.22MB zone)
round 2: 534.8MB RAM (165.42MB zone)
ZONEDETAILS
25.52MB mp3
19.13 HUNK_MARK1
7.58MB filesys
3.61MB MODEL_MD3
17.32 MODEL_GLM
12.30 MODEL_GLA
80.94 SND_RAWDATA
0.17 IMAGE
round 3: 520.1 MB (167.72MB zone)
round 4: 539.4 MB (175.21MB zone)
round 5: 555.0 MB (182.49MB zone)
round 6: 578.9 MB (190.82MB zone)
round 7: 564.9 MB (192.26MB zone)
round 8: 602.5 MB (201.17MB zone)
round 9: 605.5 MB (204.32MB zone)
round 10: 593.3 MB (204.76MB zone)
round 11: 593.3 MB (205.47MB zone)
ZONEDETAILS
40.54MB mp3
19.38 HUNK_MARK1
7.58 filesys
3.61 MODEL_MD3
25.71 MB MODEL_GLM
12.30 MB MODEL_GLA
96.25 MB SND_RAW
0.20 IMAGE
0.04 MINIZIP
round 12: 599.9 MB (208.59MB zone)
round 13: 593.5 MB (210.83MB zone)
round 14: 596.8 MB (215.62MB zone)
round 15: 611.4 MB (223.43MB zone)
SND_RESTART
round 16: 484.6 MB (75.0MB zone)