An error like this has to do with your hosting company.
There seems to be a limit in the memory, so I’d increase the memory by inserting the following code to the wp-config file:
define( 'WP_MEMORY_LIMIT', '64M' );
The following is a link to a WP guide regarding this issue:
http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP