12.5.3 Couldn’t reserve space for heap (Windows® OS)

MPLAB X IDE uses the MinGW in its make process. In Windows OS, you may have virtual memory allocation issues while GNU make is running.

Windows 7 or 8

To change the Virtual Memory settings, click Start > Control Panel. Then click System and then Security > System > Advanced Systems Setting or System Protection. On the Advanced tab, click on the Performance Settings button. In this dialog click the Advanced tab and then click on the Change button. Enter a custom size value as follows:

  • Initial Size (MB) = Currently Allocated (shown at the bottom)
  • Maximum Size (MB) = Recommended (shown at the bottom)

Click Set, click OK, and reboot your personal computer.

Windows 10

See:

www.geeksinphoenix.com/blog/post/2016/05/10/how-to-manage-windows-10-virtual-memory.aspx