Hunk_alloc failed

im getting this message every time joining a server of more than 6 players online , any way to fix this , thanks

im using mac book mac os sierra 10.12.3, mac book pro 13inch mid 2012
2.5ghz intel core i5
4gb 1600 mhz
intel hd graphics 4000 , 1536 nb

Set com_hunkMegs cvar to a higher value, such as 128, and then restart ioquake3. The value is the number of megabytes of RAM that is reserved on start up for Hunk_Alloc to use.