Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.17.18 beta
-
Fix Version/s: 5.17.19, 5.17 Cycle
-
Component/s: Rules system (includes CDOM Referencing)
-
Environment:JRE 1.6
Description
When I first load PCGen, it's using around 60,000,000 bytes. After loading CRB,APG,UC, it's at around 110,000,000.
I'll load a character, and it jumps to around 200,000,000.
I then go and unload the sources and it never drops below 200,000,000. So then I reload the CRB,APG,UC, and it jumps to 400,000,000. I'll then do a garbage collect, and it drops down to 275,000,000. But it'll never drop below this value until I close PCGen and reload it.
Each subsequent time I unload and reload sources, the used heap increases and increases and increases.
Issue Links
- Clones
-
CODE-1753
Memory leak when loading new sources with characters open
-
Identified that the data loaded for a previous gamemode was being retained. Corrected this so only the current game mode ever has loaded data.
Note: There was no retention of data past a garbage collect after reloading the same sources. This was tested using memory snapshots in YourKit.