Just to clarify, that actually ran out at less than 7MB. It's an out of memory error though, rather than memory_limit. So this might imply your server indeed has no RAM or there's a very strong memory limit applied outside PHP. Your host should be able to investigate each.
Note that PHP's default memory_limit is 128MB, so a limit like that is VERY small.