java.lang.OutOfMemory Error When Scaling Site Studio Site to High Levels of Load (Doc ID 748419.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle WebCenter Content - Version 7.5.1 and later
Information in this document applies to any platform.
***Checked for relevance on 16-September-2011***


Symptoms

When a high load is placed upon a Site Studio site that is hosted on the Content Server, possibly when being crawled by a spider, the Content Server's JVM reports java.lang.OutOfMemory errors such as the following:

1: Event generated by user 'anonymous' at host 'www.mysite.com'. Referred to by http://www.mysite.com/index.htm.
User agent is Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16 and request method is GET.
Containing page is E:/stellent/ecm/weblayout/groups/public/@mysite_website__site_studio_assets/documents/web_assets/ss_layout_mysite_admissions.hcsp. Unable to generate HTML page. (System Error: Java heap space)
[Details ]
An error has occurred. The stack trace below shows more information.
!$1:!csUserEventMessage,anonymous,www.mysite.com!csFileServiceReferredToBy,http://www.mysite.com/index.htm!csFileServiceUserAgent,Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702
Firefox/2.0.0.16,GET!csFileServiceContainingPage,E:/stellent/ecm/weblayout/groups/public/@mysite_web
site__site_studio_assets/documents/web_assets/ss_layout_mysite_admissions.hcspcsPageMergerUnableToGenerateHtmlPage!csSystemError,Java heap space intradoc.common.ServiceException:
!csPageMergerUnableToGenerateHtmlPage!csSystemError,Java heap space
at intradoc.server.Service.buildServiceException(Service.java:2312)
at intradoc.server.Service.createServiceExceptionEx(Service.java:2228)
at intradoc.server.Service.createServiceException(Service.java:2223)
at intradoc.server.Service.buildResponsePage(Service.java:1398)
at intradoc.server.Service.doResponse(Service.java:2056)
at intradoc.server.FileService.doResponse(FileService.java:1192)
at intradoc.server.Service.doRequest(Service.java:1890)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:350)
at intradoc.server.IdcServerThread.run(Unknown Source)

Caused by: java.io.IOException: Java heap space
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:840)
at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:445)
at intradoc.common.DynamicHtml.substituteVariable(Unknown Source)
at intradoc.common.DynamicHtml.outputHtmlEx(Unknown Source)
at intradoc.common.DynamicHtml.outputHtml(Unknown Source)
at intradoc.common.DynamicHtmlMerger.outputDynamicHtmlPage(DynamicHtmlMerger.java:1519)
at intradoc.server.Service.buildResponsePage(Service.java:1357)
... 5 more
Caused by: java.io.IOException: Java heap space
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:840)
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:772)
... 11 more
Caused by: java.lang.OutOfMemoryError: Java heap space

1: Stopping background monitoring of subjects. Java heap space
[Details ]
An error has occurred. The stack trace below shows more information.
!$1:!csSubjectMonitorStop!$Java heap space intradoc.common.ServiceException: Java heap space
at intradoc.server.SubjectManager$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)

Caused by: java.lang.OutOfMemoryError: Java heap space

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