Error allocating 0x800 pages - OS X El Capitan, OpenCore 1.0.0 LegacyBoot

Error allocating 0x800 pages - OS X <a class='btn-link text-warning' href='/search/label/distro?max-results=12'>El Capitan</a>, <a class='btn btn-link py-0' href='/p/opencore.html?id' target='_blank'>OpenCore</a> 1.0.0 LegacyBoot

Hey everyone! I have been trying to install OS X El Capitan on my old PC just for fun and been getting stuck at this error.

Specs:

Mobo: Gigabyte G31M-S2C rev1.x

CPU: Intel Pentium E5200.

GPU: AMD Radeon HD 6670.

CPU Family: Wolfdale.

RAM: 2GB DDR2.

Ethernet: Realtek 8101E 10/100mb.

BIOS Type: CMOS/Legacy BIOS.

Author: @ETech_exe