Al, the problem with stop forum spam is not memory but rather the CPU usage and lag it creates, for an apparently limited amount of spam blocked (at least on small wikis) https://www.mediawiki.org/wiki/Manual_talk:Combating_spam#CPU_usage.3B_IP_blacklists
Nemo