https://issues.apache.org/bugzilla/show_bug.cgi?id=50178

           Summary: HeaderManager added as child of Thread Group can
                    create concatenated HeaderManager names and
                    OutOfMemoryException
           Product: JMeter
           Version: 2.4
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [email protected]


1. Add a Header Manager as a direct child of a thread group. ( use case is test
plan with multiple thread groups, each requiring diffferent headers.)
2. If multiple threads for thread group loop forever, each test iteration
concats the Header manager's name to the previous name as part of merging
header name/values. See line 315 of HeaderManager.java (scm 915405 )

This apparently is done to track that header manager's were merged. Problem is
when cycling test iterations, this string keeps growing and growing forever -
as long as the loop. Then you see crazy long log messages from line 666 (evil!)
in HttpSamplerBase.java 

Given that the actual merge operation itself is logged, please remove the name
concatenation during the merge operation so that there is no internal leak of
memory for the HeaderManager name. Not doing this will eventually result in
JMeter running out of memory allocating strings.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to