My Oracle Support Banner

The Project XML of a Site Studio Web Site is 70 MB Which Returns the Error: "java.lang.OutOfMemoryError: Java heap space" (Doc ID 1276785.1)

Last updated on MARCH 04, 2024

Applies to:

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

Symptoms

After stopping the site and downloading the project file an external Java application added many new sections and parameters to it increasing the size of the project file from around 2 MB to 70 MB. Once the project file was checked back into the Content Server and the site restarted the following error was returned while attempting to load the site from Site Studio Designer.

'Failed to obtain site definition for Buildings'
'Handle is in the wrong state for the requested operation'

Content Server log file returns the following error:

Error 19/11/2010 10:11 Event generated by user '<user_name>' at host '<domain_name>.com'. Unable to execute service method 'getSiteAsRawXml'. (System Error: Java heap space) java.lang.OutOfMemoryError: Java heap space [ Details ]
An error has occurred. The stack trace below shows more information.

!csUserEventMessage,604340526,<domain_name>.com!$!csUnableToExecMethod,getSiteAsRawXml!csSystemError,Java heap space!syExceptionType2,java.lang.OutOfMemoryError,Java heap space
intradoc.common.ServiceException: !csUnableToExecMethod,getSiteAsRawXml!csSystemError,Java heap space
at intradoc.server.ServiceRequestImplementor.buildServiceException(Unknown Source)
at intradoc.server.Service.buildServiceException(Unknown Source)
at intradoc.server.Service.createServiceExceptionEx(Unknown Source)
at intradoc.server.Service.createServiceException(Unknown Source)
at intradoc.server.ServiceHandler.executeAction(Unknown Source)
at intradoc.server.Service.doCodeEx(Unknown Source)
at intradoc.server.Service.doCode(Unknown Source)
at intradoc.server.ServiceRequestImplementor.doAction(Unknown Source)
at intradoc.server.Service.doAction(Unknown Source)
at intradoc.server.ServiceRequestImplementor.doActions(Unknown Source)
at intradoc.server.Service.doActions(Unknown Source)
at intradoc.server.ServiceRequestImplementor.executeActions(Unknown Source)
at intradoc.server.Service.executeActions(Unknown Source)
at intradoc.server.ServiceRequestImplementor.doRequest(Unknown Source)
at intradoc.server.Service.doRequest(Unknown Source)
at intradoc.server.ServiceManager.processCommand(Unknown Source)
at intradoc.server.IdcServerThread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space

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
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.