Windows out of memory false positive

Ricardo Müller 21 Reputation points

After setting up two gpo's (one for applocker auditing, one for applocker event forwarding to a log server) some users get out of memory error message. F.ex. trying to open Firefox leads to the error message: not enough memory to run this application. Close some windows or programs and try again.

The task manager actually shows that there IS enough memory. After removing the affected computer from the policies, the error does not occur anymore. Tried to google and found desktop heap value issue. But it is already set to 1024, 20480. Somehow this error only occurs on 2 out of 4 computers. I don't know why.

A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,955 questions
0 comments No comments
{count} votes

Accepted answer
  1. JimmySalian-2011 41,966 Reputation points

    Hi Ricardo,

    Glad to know that you have identified the issue, however Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. JimmySalian-2011 41,966 Reputation points


    Just to check if all the PCs are updated with latest patches and updates? Any difference in the 2 PC that has the issue of Memory Leak, please check any Antivirus version DAT version and also any GPOs that could be linked ?

    Disk Space, Memory Optimization, Page File settings etc.?

    What is the resource monitor looks like, any event logs for the mem leak?

    Can you try the same settings on a new build device? Verify all the settings, eliminate one by one each settings.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    please don't forget to upvote and Accept as answer if the reply is helpful

    0 comments No comments

  2. Ricardo Müller 21 Reputation points

    Seems like the problem was caused by pushing the gpo's on a running system. After adding to the gpo the next day in the morning and a reboot the system runs very well and is not causing these errors. Maybe there were other gpo's or processes conflicting when forcing gpupdate manually.

    0 comments No comments

  3. ITGUY4WAM 1 Reputation point

    Just had the same exact scenario as you. Restarting resolved it for us.

    0 comments No comments