Bug 1131633 - OutOfMemoryError when CI is ran with tracing
Summary: OutOfMemoryError when CI is ran with tracing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.3.1,6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: 6.3.1
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks: 1139642
TreeView+ depends on / blocked
 
Reported: 2014-08-19 17:34 UTC by William Burns
Modified: 2015-01-26 14:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1139642 (view as bug list)
Environment:
Last Closed: 2015-01-26 14:05:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-4498 0 Major Resolved OutOfMemoryError when CI is ran with tracing 2014-09-09 11:44:02 UTC

Description William Burns 2014-08-19 17:34:17 UTC
Description of problem:

Log4j1.2 causes a memory leak when using the NDC which is set per thread.  This should be a rather trivial leak unless a large amount of threads are destroyed and created which can happen for production over a long period of time possibly.

The reason CI saw it was because these threads were shared in the same process as multiple servers were started and stopped so they continually added up.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 William Burns 2014-08-19 17:55:37 UTC
Note the leak only occurs when tracing was enabled, so it shouldn't happen normally.

Comment 3 Vojtech Juranek 2014-09-05 14:32:23 UTC
For the record: done in https://github.com/infinispan/jdg/commit/cfd928eb09c1bcc9a039c99ff0bac6d3b68839e6


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