My Oracle Support Banner

Memory Leak After every Redeployment using Hibernate/Weld in GlassFish Server 3.0 (Doc ID 1301048.1)

Last updated on OCTOBER 30, 2023

Applies to:

Oracle GlassFish Server - Version 3.0 to 3.0.1 [Release 3.0]
Information in this document applies to any platform.


GlassFish Server 3.0 leaks Java memory when a repeated redeployment of the an application that uses Hibernate is performed. After a couple of redeployment, the GlassFish server log runs out of PermGen space, and throws an OutOfMemoryError Java Exception in the logs (server.log) as follows:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.