search cancel

Reports via URL not accessible - Web Viewer 14.0

book

Article ID: 253854

calendar_today

Updated On:

Products

Output Management Web Viewer

Issue/Introduction

CAWEBVWR stopped functioning and had to be restarted.

 

Environment

Release : 14.0

Web Viewer 

DVWEB

Cause

Log shows SEVERE: Servlet.service() for servlet [web-viewer] in context with path [/web-viewer] threw exception [Async processing failed; nested exception is java.lang.OutOfMemoryError: Java heap space] with root cause  java.lang.OutOfMemoryError: Java heap space

 

Resolution

To be clear, when this happens there is no need to restart the application as these errors are only impacting specific requests (that bounce against the maximum heap size) and not the application in general. 
 
Increase the maximum heap size -doubling the maximum from 4GB to 8GB to minimize the possibility of this happening.
Specifically change the -Xmx Java VM parameter in the STDENV DD to: -Xmx8192m