Memory Leak when generating map |
| Project: | Space Empires V |
| Version: | 1.13 |
| Component: | Code |
| Category: | bug |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
There seems to be a fairly serious memory leak when generating maps.
Steps to replicate:
- Set SE5 to windowed mode
- open task manager, set to processes tab, find SE5.exe in the list
- select new game
- select standard se5
- select large # Note that i'm assuming it does in all sizes but large makes it easily visible
- select cluster or mid-life # Again assuming it works in all types but have seen it happen directly in these two
- press generate map
- wait for map to generate
- if using task manager, note mem usage of se5.exe
- repeat last 2(or 3 if using task manager) steps
- you'll know when you've run out of memory when generate no longer creates all of the warp point links that you'd expect. Closing the game after this point will cause a crash.
With Large/Cluster as settings i get a mem usage increase of between 20-40meg(roughly) per "generate map".




Memory Leak
This issue has been addressed with the latest patch (v1.17):
Version 1.17:
1. Fixed - Memory Leak in Game Setup - Generate Map function.
Please download the latest patch from Strategy First and try this again:
http://www.strategyfirst.ca/downloads/patches/se5patch_v117.exe
You can also download the history file for this patch:
http://www.strategyfirst.ca/downloads/patches/se5patch_v117.txt