While installing / enabling a plugin or theme from the WordPress admin if you see the following error –
Allowed memory size of xxxxx bytes exhausted
follow the below steps to solve the issue.
Upload a file named php.ini in wp-admin folder and add the following line to it –
memory_limit = 128M ;
(If required increase 128 to 256 or 512)