Mayankkumar

nikuadmin search recreate causing OutOfMemoryError Java heap space

Discussion created by Mayankkumar on Oct 31, 2013
Latest reply on Oct 31, 2013 by Mayankkumar

Hello all,

 

D:\Clarity\Bin> nikuadmin search recreate-index-files "-xms2048m"
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2271)
        at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
        at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.ja
va:93)
        at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)

 

 

 

Any suggestion please?

Could I set the startup parameters for JRE so that nikuadmin can run with -xms2048m ?

 

Outcomes