DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14827>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14827

JDBCAppender removes list keeps growing

           Summary: JDBCAppender removes list keeps growing
           Product: Log4j
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Appender
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Accoding to the source code for JDBCAppender in version 1.2.7
in the method flushBuffer the 'removes' list is never cleared just
gets add called only. So the list will keep expanding.
While the buffer list gets removeAll called so it shrinks.
Needs to add removes.clear after buffer.removeAll(removes).
Otherwise this might be a memory leak.

Do you see the same thing?

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to