Pack.sh Command Throws Error java.lang.OutOfMemoryError: GC overhead limit exceeded (Doc ID 2234933.1)

Last updated on JULY 06, 2017

Applies to:

Oracle WebCenter Content - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.9.0 version, Content Server

When attempting to use the Pack command (pack.sh),
the following error occurs.

ERROR
-----------------------

2017-02-17 09:04:00,366 ERROR [runScript] com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask - There was an error executing the script: /var/tmp/tmpPack3115617203186706937cws
java.lang.OutOfMemoryError: GC overhead limit exceeded
  at java.util.Arrays.copyOfRange(Arrays.java:2694)
  at java.lang.String.(String.java:203)
  at java.io.BufferedReader.readLine(BufferedReader.java:349)
  at java.io.BufferedReader.readLine(BufferedReader.java:382)
  at com.oracle.cie.domain.MacroRuleProcessor.readData(MacroRuleProcessor.java:523)
  at com.oracle.cie.domain.MacroRuleProcessor.processPerFilePerRuleGroup(MacroRuleProcessor.java:318)
  at com.oracle.cie.domain.MacroRuleProcessor.processPerFile(MacroRuleProcessor.java:302)
  at com.oracle.cie.domain.MacroRuleProcessor.recover(MacroRuleProcessor.java:94)
  at com.oracle.cie.domain.MacroRuleProcessorHelper.processMacroRules(MacroRuleProcessorHelper.java:229)
  at com.oracle.cie.domain.MacroRuleProcessorHelper.processMacroRules(MacroRuleProcessorHelper.java:148)
  at com.oracle.cie.domain.script.ScriptExecutor.doStringSub(ScriptExecutor.java:4182)
  at com.oracle.cie.domain.script.ScriptExecutor.writeTemplate(ScriptExecutor.java:911)
  at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWriteTemplate(ScriptParserClassic.java:605)
  at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:549)
  at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:429)
  at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
  at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:110)
  at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
  at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:35)
  at com.oracle.cie.wizard.domain.helpers.Executor.runSilentScript(Executor.java:68)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:558)
  at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:342)
  at com.oracle.cie.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
  at java.lang.Thread.run(Thread.java:745)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Use pack.sh script with default 256 Mb memory allocated
2. Observe error

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, admin users cannot use Pack command

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms