By Eli Baskin on
I am using Drupal 6 (latest release) and Solr 1.2.
From time to time I run into memory problems:
Fatal error: Out of memory (allocated 7340032) (tried to allocate 4864 bytes) in /home/mysite/public_html/sites/all/modules/apachesolr/apachesolr.module on line 1796
This is pretty recent. I am using multisite with Solr enabled on all the sites - maybe this is the problem?
My server specifications:
RAM: 1.5 GB Guaranteed (3 GB Burst RAM)
CentOS 5 Operating System
How can I prevent the memory problems?
Comments
_
You need to increase your PHP memory limit.
I am using WHM, and I have
I am using WHM, and I have defined memory_limit to be 200M.
admin/reports/status also reports PHP memory limit to be 200M.
Should I increase it to even more?
_
That should be more than enough - but try setting it to 256Mb just in case...
Let us know if that works!
Increased to 256M, I will
Increased to 256M, I will update if it will happen again.
Memory can be a tricky beast.
Memory can be a tricky beast. Just because it has been set in one place doesn't mean it isn't bottlenecked somewhere else. You may need to look around your WHM more to find other memory settings.