You must increase PHP memory limit. See this page for more info.

Previous FAQ: How do I fix the error « Call to undefined method MaxMind\Db\Reader::getWithPrefixLen() »?