RMake Error R3005: Internal Space Exhausted

The reason why you get RMake error "R3005: Internal space exhausted" is the lacking of internal workspace. The default size of internal workspace in RMake is 2048 bytes, and you can enlarge the size by specifying larger number in /XW option. To make it permanently, put SET RMAKE=/xw10240 in your AUTOEXEC.BAT