Getting OutOfMemoryError While Uploading Documents to Imaing using imaging-client.jar
(Doc ID 2949167.1)
Last updated on MAY 22, 2023
Applies to:
Oracle WebCenter Content: Imaging - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Goal
While uploading a document into WebCenter Content: Imaging using imaging-client.jar third-party API, the following error is received:
:/imaging/ws/DocumentContentService from client; ServiceName: {http://imaging.oracle/}DocumentContentService ; PortName: {http://imaging.oracle/}DocumentContentServicePort ; Client side features: []; Client side policies: ; java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Bits.java:695)
at java.nio.Bits.reserveMemory(Bits.java:695)
The code involved in this task is uploading a document using the method createDocument() from class oracle.imaging.DocumentContentService.
When trying to upload large-size files: 20mb, 50mb, or even 1GB in WebCenter content, the error shows up.
How can this issue be resolved?
Solution
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
Goal |
Solution |
References |