Continuous Redeploying a Simple Jersey REST Web Application GlassFish May Leak Memory (Doc ID 1534407.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version 3.1.2 and later
Information in this document applies to any platform.

Symptoms

On GlassFish Server version 3.1.2.4  and earlier, repeated redeployment of a Jersey REST web application (webapp)  may lead to an Java/JVM OutOtMemory Exception. For example, if a simple Jersey webapp is undeployed and the GlassFish is not restarted, the JVM memory used by this Jersey webapp will not be freed and is lost/leaked.

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