loading joomla, smf, and cb is going to take more than 8MB. You can fix this problem by changing the memory_limit in your php.ini to 16M. Or if you don't have access to your php.ini file you can set it dynamically in the top of your joomla index with the following code:
[code:1]
ini_set('memory_limit', '16M');
[/code:1]