[Mono-bugs] [Bug 356198] New: OutOfMemoryException in MatchCollection.get_Count ()

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 25 04:12:40 EST 2008


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 at lists.ximian.com
        ReportedBy: dna at informatik.uni-kiel.de
         QAContact: mono-bugs at 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.


More information about the mono-bugs mailing list