I got this php-error when I tried to install the com_comprofiler.zip
"Allowed memory size of 8388608 bytes exhausted..."
I solved it by editing /etc/php5/apache2/php.ini and set memory_limit = 12M.
This was on a default Ubuntu 6.10 installation.
I think it should be done in the script by adding "ini_set("memory_limit","12M");" in order to be compliant - nicer solution.