Log4net
  1. Log4net
  2. LOG4NET-294

Exception rendering object type [System.OutOfMemoryException]

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.10
    • Fix Version/s: 1.2.12
    • Component/s: None
    • Labels:
      None
    • Environment:
      window2003 server, .Net framework 3.5. incorporated into Microsoft MOSS 2007Platform.

      Description

      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".log"" />
      <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.

        Activity

        xiaofeng chen created issue -
        Stefan Bodewig made changes -
        Field Original Value New Value
        Fix Version/s 1.2 Maintenance Release [ 12317606 ]
        Dominik Psenner made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Dominik Psenner [ nachbarslumpi ]
        Fix Version/s 1.2.12 [ 12318546 ]
        Fix Version/s 1.2 Maintenance Release [ 12317606 ]
        Resolution Cannot Reproduce [ 5 ]

          People

          • Assignee:
            Dominik Psenner
            Reporter:
            xiaofeng chen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development