logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Psenner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4NET-294) Exception rendering object type [System.OutOfMemoryException]
Date Thu, 06 Jun 2013 09:25:20 GMT

    [ https://issues.apache.org/jira/browse/LOG4NET-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676866#comment-13676866
] 

Dominik Psenner commented on LOG4NET-294:
-----------------------------------------

Did you try to render a particularily large object (i.e. a huge dictionary or enumerable)?
                
> Exception rendering object type [System.OutOfMemoryException]
> -------------------------------------------------------------
>
>                 Key: LOG4NET-294
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-294
>             Project: Log4net
>          Issue Type: Bug
>    Affects Versions: 1.2.10
>         Environment: window2003 server, .Net framework 3.5. incorporated into Microsoft
MOSS 2007Platform.
>            Reporter: xiaofeng chen
>             Fix For: 1.2 Maintenance Release
>
>
> configuration:
> <?xml version="1.0" encoding="utf-8"?>
> <log4net>
>   <appender name="FatalFile" type="log4net.Appender.RollingFileAppender">
>     <file value="Log directory" />
>     <appendToFile value="true" />
>     <rollingStyle value="Date" />
>     <maximumFileSize value="10240KB" />
>     <StaticLogFileName value="false" />
>     <maxSizeRollBackups value="10" />
>     <datePattern value=".yyyy-MM-dd&quot;.log&quot;" />
>     <layout type="log4net.Layout.PatternLayout">
>       <conversionPattern value="time:%date threadID:[%thread] level:%-5level class:%logger
property:[%property{NDC}] - decription:%message%newline" />
>     </layout>
>   </appender>
>   <logger name="DEBUGGER" additivity="false">
>     <level value="ALL" />
>   </logger>
>   <root>
>     <level value="FATAL" />
>     <appender-ref ref="FatalFile" />
>   </root>
> </log4net>
> Error Stack:
> <log4net.Error>Exception rendering object type [System.OutOfMemoryException]<stackTrace>System.OutOfMemoryException:
Exception of type 'System.OutOfMemoryException' was thrown.
>    at log4net.ObjectRenderer.DefaultRenderer.RenderObject(RendererMap rendererMap, Object
obj, TextWriter writer)
>    at log4net.ObjectRenderer.RendererMap.FindAndRender(Object obj, TextWriter writer)</stackTrace></log4net.Error>
> Note:
> This error doesn't always shows. We're not sure what effect will push on our application
by this issue. We also notice that some one report this issue here:https://issues.apache.org/jira/browse/LOG4NET-192
> But the resolution said 'Cannot Reproduce'. Now, ii reproduced again.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message