Hi,
I'm having some memory issues when indexing one single polygon with geowave in accumulo (using SimpleFeatureTypeBuilder ad per geowave examples). This is the error I see
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at mil.nga.giat.geowave.core.index.PersistenceUtils.fromBinary(PersistenceUtils.java:81)
at mil.nga.giat.geowave.adapter.vector.FeatureDataAdapter.defaultTypeDataFromBinary(FeatureDataAdapter.java:490)
at mil.nga.giat.geowave.core.store.adapter.AbstractDataAdapter.fromBinary(AbstractDataAdapter.java:282)
at mil.nga.giat.geowave.core.index.PersistenceUtils.fromBinary(PersistenceUtils.java:93)
at mil.nga.giat.geowave.datastore.accumulo.metadata.AbstractAccumuloPersistence.entryToValue(AbstractAccumuloPersistence.java:345)
at mil.nga.giat.geowave.datastore.accumulo.metadata.AbstractAccumuloPersistence.objectExists(AbstractAccumuloPersistence.java:472)
at mil.nga.giat.geowave.datastore.accumulo.metadata.AccumuloAdapterStore.adapterExists(AccumuloAdapterStore.java:46)
at mil.nga.giat.geowave.datastore.accumulo.AccumuloDataStore.store(AccumuloDataStore.java:181)
at mil.nga.giat.geowave.datastore.accumulo.AccumuloIndexWriter.writeInternal(AccumuloIndexWriter.java:240)
at mil.nga.giat.geowave.datastore.accumulo.AccumuloIndexWriter.write(AccumuloIndexWriter.java:194)
at mil.nga.giat.geowave.datastore.accumulo.AccumuloIndexWriter.write(AccumuloIndexWriter.java:168)
In accumulo Tablet Server Max Heapsize (tserver_max_heapsize) has 1 GB heap, and Master Max Heapsize (master_max_heapsize) 512 Mb as per geowave documentation.
Anyone knows if i need to tweak any other parameter in accumulo configuration?
Thanks!