commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <>
Subject [jira] Commented: (LANG-453) ToStringBuilder can cause serious memory leaks
Date Sun, 09 Aug 2009 02:12:14 GMT


Henri Yandell commented on LANG-453:

Please open a new issue Paul (and link from here). Thanks for reporting it.

> ToStringBuilder can cause serious memory leaks
> ----------------------------------------------
>                 Key: LANG-453
>                 URL:
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.3
>         Environment: all
>            Reporter: Olaf Tomczak
> ToStringBuilder's constructor registers object passed as argument in thread local static
registry.  This causes serious memory problems in applications that run for a long time, use
thread pooling and process large amount of data (e.g. enterprise web applications). Each call
to toString method on an object causes this object to be practically impossible to garbage

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message