Andrea Schweer
unread,Sep 1, 2015, 5:23:14 PM9/1/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Arthur Sady Cordeiro Rossetti, Hilton Gibson, dspac...@googlegroups.com, Pottinger, Hardy J.
Hi,
On 02/09/15 05:12, Arthur Sady Cordeiro Rossetti wrote:
> Well, I have tried to use the command first at dspace 5.2 and as it
> didn't work I then tried 5.3 but the result was the same. I used the
> comand as the root user, I checked and the acces should be normal. The
> size as I mentioned before is close to 7Gb. As for the the log, I'm
> not sure if its related but I tried to see tail the catalina.out and
> found this, I will try increasing the heap space and see what happens,
> as soon as I discover how to do it.
>
>
> Exception in thread "http-bio-8080-exec-10"
> java.lang.OutOfMemoryError: Java heap space
Well spotted Arthur. I thought we had cut down on the memory
requirements, but unfortunately not enough it seems. This might also
explain what Hilton saw; the flags he used shouldn't have made a
difference, so perhaps success or not was determined by how busy Tomcat
was at the time the command was run.
Where to increase the heap space for Tomcat depends on your installation
of Tomcat; on my RHEL6 machines it's in /etc/tomcat6/tomcat6.conf, add a
line like
JAVA_OPTS="${JAVA_OPTS} -Xmx2048m -Xms2048m -XX:MaxPermSize=512m"
just swapping in how much memory you think you might need. The biggest
index I've run the reindex on is ~4GB and I believe the settings were as
above. I believe Hardy ran this on a bigger index during testing; Hardy,
do you recall what your heap space settings were?
cheers,
Andrea