Offline Tar Compaction not Successful

Maddy737

10-02-2019

Dear all,

I run the offline compaction on AEM 6.0 and it took more than 5 hours and final throws below error.

Command i have used java -Dtar.memoryMapped=true -Xmx8g -jar $oakrun checkpoints $aemfolder/repository/segmentstore >> $installfolder/help/logs/$logfile

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.setProperty(MemoryNodeBuilder.java:489)

at org.apache.jackrabbit.oak.spi.state.ApplyDiff.propertyAdded(ApplyDiff.java:62)

at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.propertyAdded(Compactor.java:155)

at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:155)

at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:184)

at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:160)

at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:184)

at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:160)

at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:184)

at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:160)

at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:184)

at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:160)

at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:184)

at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:160)

at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:184)

at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:160)

at org.apache.jackrabbit.oak.plugins.segment.Compactor$CompactDiff.childNodeAdded(Compactor.java:184)

at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.compareAgainstEmptyState(EmptyNodeState.java:160)

at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:434)

at org.apache.jackrabbit.oak.plugins.segment.Compactor.process(Compactor.java:105)

at org.apache.jackrabbit.oak.plugins.segment.Compactor.compact(Compactor.java:111)

at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.compact(FileStore.java:693)

at org.apache.jackrabbit.oak.run.Main.compact(Main.java:389)

at org.apache.jackrabbit.oak.run.Main.main(Main.java:147)

Accepted Solutions (0)

Answers (4)

Answers (4)

Maddy737

12-02-2019

Hi edubey

Thank you, Actually am using oak verion 1.0.39, can we still use the parameters mentioned?

Oak Offline Compaction - Improve performance, avoid memory issues and track progress

Currently my system having 20GB of RAM, this is pre prod environment and i think 20GB would be sufficient. Your thoughts please.