Bug 1390207 - [GSS] (6.4.z) Hibernate Scanner implementation class shouldn't leak application entity classes
Summary: [GSS] (6.4.z) Hibernate Scanner implementation class shouldn't leak applicati...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: JPA
Version: 6.4.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: CR1
: EAP 6.4.13
Assignee: Stephen Fikes
QA Contact: Martin Simka
URL:
Whiteboard:
Depends On:
Blocks: eap6413-payload
TreeView+ depends on / blocked
 
Reported: 2016-10-31 14:00 UTC by Stephen Fikes
Modified: 2019-12-16 07:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: A class loader is created and cached for each class/interface loaded by the Hibernate scanner while inspecting a deployment archive containing a persistence unit. Consequence: For large archives (containing many classes/interfaces), an exception may occur: java.lang.OutOfMemoryError: Metaspace Fix: A single loader will be used by the Hibernate deployment scanner, per-persistence unit Result: Reduced memory footprint (for metaspace)
Clone Of:
Environment:
Last Closed: 2017-02-03 16:43:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-6739 0 Major Verified [GSS] (7.1.0) Hibernate Scanner implementation class shouldn't leak application entity classes 2020-06-30 01:55:33 UTC
Red Hat Issue Tracker JBEAP-6741 0 Major Verified [GSS] (7.0.z) Hibernate Scanner implementation class shouldn't leak application entity classes 2020-06-30 01:55:33 UTC
Red Hat Issue Tracker WFLY-7372 0 Major Closed Hibernate Scanner implementation class shouldn't leak application entity classes 2020-06-30 01:55:33 UTC
Red Hat Knowledge Base (Solution) 2739881 0 None None None 2016-10-31 14:31:33 UTC

Description Stephen Fikes 2016-10-31 14:00:24 UTC
Description of problem:
Memory growth due to creation of a class loader per class during processing of archives containing persistence units.

How reproducible:
Consistently

Steps to Reproduce:
Deploy an archive containing a persistence unit

Comment 4 Jiří Bílek 2017-01-06 10:36:04 UTC
Verified with EAP 6.4.13.CP.CR1

Comment 5 Petr Penicka 2017-02-03 16:43:24 UTC
Released with EAP 6.4.13 on Feb 02 2017.


Note You need to log in before you can comment on or make changes to this bug.