Alocate the memroy used by a program
Go to the application. Ctrl + Click on the application. Click "Get Info", then "Memory" from the sub menu.
Change minimum and maximum size to reuirements. Prefered = 4096k.