https://bugzilla.novell.com/show_bug.cgi?id=356198


           Summary: OutOfMemoryException in MatchCollection.get_Count ()
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i686
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs@lists.ximian.com
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---


I've running a application on Mono /trunk/ r93697 that uses very frequently
regular expressions and it leaks a lot of memory on mono. The same application
on .NET 2.0 runs fine.

I got a lot of this exceptions:

System.OutOfMemoryException: Out of memory.
  at (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_array_new_specific (intptr,int)
  at System.Text.RegularExpressions.Interpreter.CreateMark (Int32 previous)
[0x00000]
  at System.Text.RegularExpressions.Interpreter.Open (Int32 gid, Int32 ptr)
[0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.TryMatch (System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Eval (Mode mode, System.Int32&
ref_ptr, Int32 pc) [0x00000]
  at System.Text.RegularExpressions.Interpreter.Scan
(System.Text.RegularExpressions.Regex regex, System.String text, Int32 start,
Int32 end) [0x00000]
  at System.Text.RegularExpressions.Match.NextMatch () [0x00000]
  at System.Text.RegularExpressions.MatchCollection.TryToGet (Int32 i)
[0x00000]
  at System.Text.RegularExpressions.MatchCollection.get_FullList () [0x00000]
  at System.Text.RegularExpressions.MatchCollection.get_Count () [0x00000]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to