Fatal error: Allowed memory size of… (Error On Installation/Activation)

Occassionally when you install/activate OptimizePress you may get a message like this:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2 bytes) ....

This issue is caused by a lack of memory of the server running to power our theme (it is slightly more complex than normal themes so requires a little more memory to run)

To fix this, do the following:

in wp-config.php file (found in your main wordpress installation folder) find this line:

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

add this new line above that code:

define('WP_MEMORY_LIMIT', '64M');

This should fix the issue