Skip to Main Content

Intelligent Advisor

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getting System.OutOfMemoryException while running test cases

Kunal SharmaNov 21 2014 — edited Dec 4 2014

Hi I am getting following error while running test cases any idea about the root cause for this?

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

   at System.IO.MemoryStream.set_Capacity(Int32 value)

   at System.IO.MemoryStream.EnsureCapacity(Int32 value)

   at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)

   at Oracle.Determinations.Masquerade.IO.ByteArrayOutputStream.Write(SByte[] buff, Int32 offset, Int32 len)

   at Oracle.Determinations.Engine.Local.FilesContainerWithZip..ctor(InputStream stream)

   at Oracle.Determinations.Engine.Local.RulebaseLoader.CreateUnifiedRulebase(InputStream zipStream, ModuleResolver resolver)

   at Oracle.Modeling.RegressionTester.Core.BaseContext.LoadRulebase(String rulebasePath, String locale)

   at Oracle.Modeling.RegressionTester.Core.BaseContext..ctor(RuntimePlatform platform, String rulebasePath, String locale)

   at Oracle.Modeling.RegressionTester.Core.StandaloneRegressionTesterContext..ctor(RuntimePlatform platform, String rulebasePath)

   at Oracle.Modeling.RegressionTester.RegressionTester.btnOK_Click(Object sender, EventArgs e)

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

Oracle.Policy.Modeling.RegressionTester

    Assembly Version: 10.4.0.0

    Win32 Version: 10.4.5.40

    CodeBase: file:///C:/Program%20Files%20(x86)/Oracle/Policy%20Modeling/bin/Oracle.Policy.Modeling.RegressionTester.exe

----------------------------------------

System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

Oracle.Modeling.Language.ResourceHandler

    Assembly Version: 10.4.0.0

    Win32 Version: 10.4.5.40

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Oracle.Modeling.Language.ResourceHandler/10.4.0.0__222f974853dbe3c1/Oracle.Modeling.Language.ResourceHandler.dll

----------------------------------------

Accessibility

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

Oracle.Modeling.RegressionTester.Core

    Assembly Version: 10.4.0.0

    Win32 Version: 10.4.5.40

    CodeBase: file:///C:/Program%20Files%20(x86)/Oracle/Policy%20Modeling/bin/Oracle.Modeling.RegressionTester.Core.DLL

----------------------------------------

Oracle.Determinations.Engine

    Assembly Version: 10.4.0.0

    Win32 Version: 10.4.5.40

    CodeBase: file:///C:/Program%20Files%20(x86)/Oracle/Policy%20Modeling/bin/Oracle.Determinations.Engine.DLL

----------------------------------------

Oracle.Determinations.Masquerade

    Assembly Version: 10.4.0.0

    Win32 Version: 10.4.5.40

    CodeBase: file:///C:/Program%20Files%20(x86)/Oracle/Policy%20Modeling/bin/Oracle.Determinations.Masquerade.DLL

----------------------------------------

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

For example:

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 1 2015
Added on Nov 21 2014
2 comments
1,590 views