Furst, Carl | 22 Jun 2012 23:03
Favicon

OOM errors

Hey everyone,

So I deployed the jackrabbit 2.4.2 war onto Tomcat 6 and I'm trying to see
how effective RMI is working. It's not very effective is the what I hear.
Still, I'd like to test it. I'm using everything as out of the box and
when I try and load a bunch of stuff into the repository or traverse the
repository to get a sense of speed, I get a lot of OOM errors. I have my
heap settings as ­Xms1000m and ­Xmx2000m and the process is recorded as
reaching 2.19GB. Is there anyway to tune how much memory jackrabbit is
using? Are there configurations for Lucine or Derby that allows them to
not use so much?

The errors themselves seem mostly random, but they are all occurring with
Lucine.

Some samples are below. However, does anyone have any suggestions on how
to avoid this?

2012-06-22 15:45:02.057 ERROR [jackrabbit-pool-2] IndexMerger.java:569
Error while merging indexes:
java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2882) ~[na:1.6.0_33]
        at java.lang.StringCoding.safeTrim(StringCoding.java:75) ~[na:1.6.0_33]
        at java.lang.StringCoding.access$100(StringCoding.java:34) ~[na:1.6.0_33]
        at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:151)
~[na:1.6.0_33]
        at java.lang.StringCoding.decode(StringCoding.java:173) ~[na:1.6.0_33]
        at java.lang.String.<init>(String.java:443) ~[na:1.6.0_33]
        at org.apache.lucene.store.IndexInput.readString(IndexInput.java:125)
~[lucene-core-3.0.3.jar:3.0.3 1039909 - 2010-11-28 19:08:19]
(Continue reading)


Gmane