Add the support for 32bit according to Emanuel Thomas's finding. Basically, we change the setting of PROTECTEDHEAP_SIZE to 1G