My Oracle Support Banner

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

Last updated on SEPTEMBER 19, 2022

Applies to:

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


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



 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"


To view full details, 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 a vibrant support community of peers and Oracle experts.