Encountering 'java.lang.OutOfMemoryError: PermGen space' Error When Attempting JUnit Testing For MWM 2.2.0 (Doc ID 2043982.1)

Last updated on MARCH 07, 2017

Applies to:

Oracle Utilities Mobile Workforce Management - Version 2.2.0 and later
Oracle Real-Time Scheduler - Version 2.2.0 and later
Information in this document applies to any platform.

Symptoms

While doing JUnit testing in MWM, the following error is encountered.

 

Changes

 The following steps were perform, but issue persist.

1. Add a new Run configuration under JUnit (Run> Run configuration> JUnit> New)
2. Within the arguments tab increase/set VM arguments to "-Xms1024m -Xmx2048m"

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