2025-07-19 16:03 CEST

View Revisions: Issue #3660

Summary 0003660: Spring 94 + HealthBars widget causing big memory usage increase
Revision 2013-03-29 14:40 by bibim_
Description Test system:
  CPU: AthlonXP 3000+
  OS: Windows NT 5.00.2195 SP4
  RAM: 2 GB
  Video: GeForce 7950GT 512MB

Test replays:
  Size: 4v4 (2 E323 + 2 KAIK) vs (2 E323 + 2 KAIK)
  Map: Tangerine
  Game: BA 7.72
  Duration: replays stopped after 10 minutes in game (0000179:0000200 units)

Results for spring.exe process:
  Spring 91.0, HealthBars enabled:
    Peak mem usage: 376MB
    Page faults: 185 354
  Spring 91.0, HealthBars disabled:
    Peak mem usage: 374MB
    Page faults: 178 966
  Spring 94.1, HealthBars enabled:
    Peak mem usage: 550MB
    Page faults: 1 448 351
  Spring 94.1, healthBars disabled:
    Peak mem usage: 381 MB
    Page faults: 199 942

I stopped after 10 minutes each time in order to be able to do the tests quickly, as it's enough to notice the memory increase even if it doesn't seem that big. However, with real life multiplayer games with more units, Spring takes all available memory and my system swaps so much that the game becomes unplayable after about 15 minutes. This can be solved either by disabling HealthBars, either by switching back to Spring 91.

I've set the issue severity to minor and priority to low because I didn't find any evidence of reproducibility on other systems than mine.
Revision 2013-03-31 04:07 by abma
Description Test system:
  CPU: AthlonXP 3000+
  OS: Windows NT 5.00.2195 SP4
  RAM: 2 GB
  Video: GeForce 7950GT 512MB

Test replays:
  Size: 4v4 (2 E323 + 2 KAIK) vs (2 E323 + 2 KAIK)
  Map: Tangerine
  Game: BA 7.72
  Duration: replays stopped after 10 minutes in game (~ 200 units)

Results for spring.exe process:
  Spring 91.0, HealthBars enabled:
    Peak mem usage: 376MB
    Page faults: 185 354
  Spring 91.0, HealthBars disabled:
    Peak mem usage: 374MB
    Page faults: 178 966
  Spring 94.1, HealthBars enabled:
    Peak mem usage: 550MB
    Page faults: 1 448 351
  Spring 94.1, healthBars disabled:
    Peak mem usage: 381 MB
    Page faults: 199 942

I stopped after 10 minutes each time in order to be able to do the tests quickly, as it's enough to notice the memory increase even if it doesn't seem that big. However, with real life multiplayer games with more units, Spring takes all available memory and my system swaps so much that the game becomes unplayable after about 15 minutes. This can be solved either by disabling HealthBars, either by switching back to Spring 91.

I've set the issue severity to minor and priority to low because I didn't find any evidence of reproducibility on other systems than mine.