Author Topic: Win32k Desktop Heap Allocation Failed  (Read 9388 times)

0 Members and 1 Guest are viewing this topic.

makinero

  • Guest
Win32k Desktop Heap Allocation Failed
« on: July 02, 2016, 05:31:11 am »

Sometimes get the error message:
Quote
Win32k Desktop Heap Allocation Failed

What is the error?

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile

makinero

  • Guest
Re: Win32k Desktop Heap Allocation Failed
« Reply #2 on: July 02, 2016, 07:59:30 am »
Typically, that third number is smaller than the second, i.e. the interactive desktop heap is larger than the non-interactive desktop heap.
The solution is to modify that registry setting to increase the third number of the SharedSection parameter, i.e. increase the size of the non-interactive desktop heap.
For example, you could change this:
SharedSection=1024,20480,768(My setting)
to this:
SharedSection=1024,20480,4096
You must re-boot the server for the change to take effect.
Regarding the warning at the top of this document: if you make one of these 3 heap size settings too small, the server may not have enough resources to start.

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: Win32k Desktop Heap Allocation Failed
« Reply #3 on: July 02, 2016, 08:10:29 am »
Well try the suggestion.