Skip to content

Commit

Permalink
Starting with Windows Vista, the system uses the low-fragmentation he…
Browse files Browse the repository at this point in the history
…ap (LFH) as needed to service memory allocation requests. Applications do not need to enable the LFH for their heaps.
  • Loading branch information
intorr committed Feb 26, 2018
1 parent cfabc7f commit a2cd2b5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/xrEngine/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,6 @@ ENGINE_API int RunApplication()
{
R_ASSERT2(Core.Params, "Core must be initialized");

if (!IsDebuggerPresent())
{
u32 heapFragmentation = 2;
bool result = HeapSetInformation(
GetProcessHeap(), HeapCompatibilityInformation, &heapFragmentation, sizeof(heapFragmentation));
VERIFY2(result, "can't set process heap low fragmentation");
UNUSED(result);
}
#ifdef NO_MULTI_INSTANCES
if (!GEnv.isDedicatedServer)
{
Expand Down

0 comments on commit a2cd2b5

Please sign in to comment.