[Hippo-cms7-user] jcr-shell: java heap space errors when exporting nodes

Bart van der Schans b.vanderschans at onehippo.com
Mon Dec 14 10:48:49 CET 2009

Hi Edwin,

The OutOfMemoryError is occuring at the server. What you see is the
feedback returned over rmi. Can you try increasing the memory settings
on the server ( The JCR Shell should not need so much


On Mon, Dec 14, 2009 at 10:36 AM, Edwin Benneheij <ettepet at gmail.com> wrote:
> Hi,
> We are trying to export the complete content.xml node, using the jcr-shell.
> This keeps failing because of a java heap space error:
> connection failed to host:; nested exception is:
>         java.rmi.ServerError: Error occurred in server thread; nested
> exception is:
>         java.lang.OutOfMemoryError: Java heap space
> We tried to split up this huge content.xml node into smaller parts.
> This works, but after adding more and more content we have to split up these
> parts, again.
> Is there a size-limit on the exported node-tree?
> We've also tried to change the JAVA_OPTS values in the jcr-shell script:
> EXTRA_JVM_ARGUMENTS="-Xms1024m -Xmx4096m"
> It looks like this does have some effects, but it would be nice to export
> the whole content-node at once.
> Any suggestions are appreciated,
> Edwin
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/community.html

Hippo B.V.  -  Amsterdam
Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466

Hippo USA Inc.  -  San Francisco
101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
http://www.onehippo.com   -  info at onehippo.com

More information about the Hippo-cms7-user mailing list