Hello,<br><br>thanks a lot for your quick answer.<br><br>I just created <a href="http://jira.qos.ch/browse/LBCLASSIC-262">http://jira.qos.ch/browse/LBCLASSIC-262</a> , please ask me for any details.<br>Because we use a very old version of IBM JVM, I looked at the IBM JVM fixes, searching something about LinkedHashMap, but didn't find anything.<br>
<br>Do you have already planned a new release of Logback (0.9.29), including the patch for LBCLASSIC-255?<br><br>Thanks,<br><br>François Petitit<br><br><div class="gmail_quote">2011/4/12 Ceki Gulcu <span dir="ltr"><<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 12.04.2011 11:45, François Petitit wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hello,<br>
<br>
we have problems of excessive memory consumption, due to the object<br>
LRUMessageCache that grows constantly, until it exceeds 100MB.<br>
Then we restart the JVM to avoid crashes.<br>
<br></div>
Could the anomaly <a href="http://jira.qos.ch/browse/LBCLASSIC-255regarding" target="_blank">http://jira.qos.ch/browse/LBCLASSIC-255regarding</a> the<div class="im"><br>
fact that the class LRUMessageCache is not multithread-safe explain the<br>
problem?<br>
<br>
Thank you in advance.<br>
<br>
</div></blockquote>
<br>
Hello Francois,<br>
<br>
What you describe sounds like a serious bug. Could you please enter a bug report so that the bug is not fotgotten?<br>
<br>
Interestingly enough, LRUMessageCache is based for the most part on the JDK's LinkedHashMap. If the bug is located in LRUMessageCache in the code extending LinkedHashMap then we will fix LRUMessageCache. If however, the bug is in LinkedHashMap, which is a distinct possibility, then we can revert to the original LRUMessageCache which implemented the functionality from the ground up, without relying on LinkedHashMap.<br>
<br>
In any case, please enter a bug report indicating your version of logback and JDK.<br>
<br>
Cheers,<br><font color="#888888">
<br>
-- <br>
Ceki<br>
<br>
QOS.ch, main sponsor of cal10n, logback and slf4j open source projects, is looking to hire talented software engineers. For further details, see <a href="http://logback.qos.ch/job.html" target="_blank">http://logback.qos.ch/job.html</a><br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
</font></blockquote></div><br>