View Issue Details

IDProjectCategoryView StatusLast Update
0004662The Dark ModMappingpublic29.04.2018 20:44
Reporteruser81Assigned Tostgatilov  
PriorityhighSeveritynormalReproducibilityalways
Status closedResolutionfixed 
PlatformPC, Windows, x64OSWin 7/8OS VersionSp2/8.1
Product VersionTDM 2.06 
Target VersionTDM 2.06Fixed in VersionTDM 2.06 
Summary0004662: TDM x64 using a lot of ram during DMAP
DescriptionCompared to the x86 version the x64 is using a lot of ram -

x86 - Task manager 1.458GB, Commit 3.642GB & working set 1.482GB

x64 - Task manager 2.58GB, Commit 4.582GB & working set 3.941GB - this crashed to desktop.
TagsNo tags attached.

Relationships

related to 0004753 resolvedstgatilov High RAM useage over time: TDM is crashing to desktop 

Activities

stgatilov

stgatilov

20.11.2017 17:49

administrator   ~0009647

Note to self:
1. idHeap may increase memory consumption.
2. 64-bit version can really eat much more RAM, because all data structures in dmap are linked lists and trees, and they use many pointers per node, meaning that data becomes up to 2x larger after switching from 32-bit to 64-bit.
stgatilov

stgatilov

22.11.2017 05:09

administrator   ~0009672

Disabled idHeap in 64-bit build in revision 7298.
I think the same could be done for 32-bit case, but don't what to mess with it until 2.06 is out.

The idHeap reliably increases memory consumption (by about 10%). And in some cases (like the map in question) the difference is much larger.
Also, the idHeap was removed from Doom 3 BFG. I think it was helpful before Windows switched to Low-Fragmentation-Heap, but now it is just a yet-another reinvented wheel.
nbohr1more

nbohr1more

14.12.2017 15:34

developer   ~0009788

RAM usage has been reduced in 2.06 beta.
Further fixes are targeted for 2.07

user81

14.12.2017 19:08

  ~0009794

Nice work guys!

user81

20.03.2018 08:26

  ~0010111

There is a related ticket to this -

- http://bugs.thedarkmod.com/view.php?id=4753

user81

27.03.2018 15:21

  ~0010164

A workaround had been found in 0004753

Issue History

Date Modified Username Field Change
12.11.2017 12:26 user81 New Issue
12.11.2017 12:26 user81 Status new => assigned
12.11.2017 12:26 user81 Assigned To => stgatilov
12.11.2017 12:27 user81 View Status private => public
20.11.2017 17:49 stgatilov Note Added: 0009647
22.11.2017 05:09 stgatilov Note Added: 0009672
14.12.2017 15:34 nbohr1more Note Added: 0009788
14.12.2017 15:34 nbohr1more Target Version TDM 2.06 => TDM 2.07
14.12.2017 19:08 user81 Note Added: 0009794
20.03.2018 08:26 user81 Note Added: 0010111
27.03.2018 15:20 user81 Relationship added related to 0004753
27.03.2018 15:21 user81 Note Added: 0010164
27.03.2018 15:21 user81 Status assigned => closed
27.03.2018 15:21 user81 Resolution open => fixed
27.03.2018 15:21 user81 Fixed in Version => TDM 2.06
29.04.2018 20:44 nbohr1more Target Version TDM 2.07 => TDM 2.06