Actually I think this is a PHP error, not a Java error (I certainly
recognize it from PHP, in Java the error is usually more like
OutOfMemoryException).
Check the server's php.ini file for a line like this:
memory_limit = 16M
and try setting it to something more reasonable:
memory_limit = 128M
I never agreed with the default limit here anyway.
If you can't change your php.ini you can also usually just run
something like this:
<?php
ini_set('memory_limit', '128M');
?>
at the top of your script, at least with most distributions I've seen.
--
Steve
On Dec 28, 2008, at 9:11 PM, Jacob Singh wrote:
Hi Sujatha,
Try setting the memory allotted to your servlet container to a higher
amount with the -Xmx and -Xms Java settings.
Best,
Jacob
On Sun, Dec 28, 2008 at 10:06 AM, Sujatha Arun <suja.a...@gmail.com>
wrote:
Hi ,
I am getting this error :
Allowed memory size of 16777216 bytes exhausted (tried to allocate
8192
bytes).
This is happenning on clicking on facets that have more than abt 400
results.
This is my search server configutation
# OS: Red Hat Enterprise Linux ES 4 - 64 Bit
# Processor: Dual AMD Opteron Dual Core 270 2.0 GHz
# 4GB DDR RAM
# Hard Drive: 73GB SCSI
I have several solr webapps running on this server.
Please advice.
Regards
Sujatha
--
+1 510 277-0891 (o)
+91 9999 33 7458 (m)
web: http://pajamadesign.com
Skype: pajamadesign
Yahoo: jacobsingh
AIM: jacobsingh
gTalk: jacobsi...@gmail.com