My Oracle Support Banner

java.lang.OutOfMemoryError: Requested array size exceeds VM limit (Doc ID 2310577.1)

Last updated on AUGUST 26, 2019

Applies to:

Oracle Commerce Platform - Version 11.1 and later
Information in this document applies to any platform.

Symptoms

Customer got the exception in thread "/atg/dynamo/service/Scheduler-reusablejobhandler-indexWorker" java.lang.OutOfMemoryError: Requested array size exceeds VM limit

 

Stack Trace:-

"/atg/dynamo/service/Scheduler-reusablejobhandler-indexWorker" java.lang.OutOfMemoryError: Requested array size exceeds VM limit
       at java.util.Arrays.copyOf(Arrays.java:2271)
       at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
       at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
       at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:122)
       at weblogic.logging.LoggingOutputStream.write(LoggingOutputStream.java:94)
       at java.io.OutputStream.write(OutputStream.java:116)
       at java.io.PrintStream.write(PrintStream.java:480)
       at atg.core.io.TeeOutputStream.write(TeeOutputStream.java:159)
       at java.io.PrintStream.write(PrintStream.java:480)
       at java.io.PrintStream.write(PrintStream.java:480)
       at atg.core.io.PrefixPrintStream.write(PrefixPrintStream.java:130)
       at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
       at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282)
       at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)
       at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207)
       at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:129)
       at java.io.PrintStream.write(PrintStream.java:526)
       at java.io.PrintStream.print(PrintStream.java:669)
       at atg.nucleus.logging.LogEvent.writeLogMessage(LogEvent.java:287)
       at atg.nucleus.logging.DisplayLogger.writeLogEvent(DisplayLogger.java:282)
       at atg.nucleus.logging.DisplayLogger.logEvent(DisplayLogger.java:241)
       at atg.nucleus.GenericService.sendLogEvent(GenericService.java:355)
       at atg.nucleus.GenericService.logError(GenericService.java:868)
       at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:501)
       at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:780)
Exception in thread "/atg/dynamo/service/Scheduler-poller" java.lang.OutOfMemoryError: Requested array size exceeds VM limit

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.