View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004662||The Dark Mod||Mapping||public||12.11.2017 12:26||29.04.2018 20:44|
|Platform||PC, Windows, x64||OS||Win 7/8||OS Version||Sp2/8.1|
|Product Version||TDM 2.06|
|Target Version||TDM 2.06||Fixed in Version||TDM 2.06|
|Summary||0004662: TDM x64 using a lot of ram during DMAP|
|Description||Compared 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.
|Tags||No tags attached.|
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.
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.
RAM usage has been reduced in 2.06 beta.
Further fixes are targeted for 2.07
|Nice work guys!|
There is a related ticket to this -
|A workaround had been found in 0004753|
||Status||new => assigned|
||Assigned To||=> stgatilov|
||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|
||Note Added: 0009794|
||Note Added: 0010111|
||Relationship added||related to 0004753|
||Note Added: 0010164|
||Status||assigned => closed|
||Resolution||open => fixed|
||Fixed in Version||=> TDM 2.06|
|29.04.2018 20:44||nbohr1more||Target Version||TDM 2.07 => TDM 2.06|