So do we need a layout setting to shrink the buffer back down after a while to a user defined level?
This is after answering the obvious question of why would you log a 10 MB message? Gary On Fri, Mar 11, 2016 at 12:38 PM, luca boncompagni <[email protected]> wrote: > > Il 11/mar/2016 21:14, "Matt Sicker" <[email protected]> ha scritto: > > > > Does your app make a lot of large log messages or is it just used in a > couple loggers? Because I think you could use a custom MessageFactory for > those loggers to reduce memory usage at the cost of performance. > > > > My app is a webapp running on wildfly. Long message are not so frequent, > but if I have every thread of wildfly with a StringBuilder of ~ 10Mb I have > some serious memory problem. > > Luca > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
