Getting the Error message : System.OutOfMemoryException: Out of memory.

6 posts, 0 answers
  1. ravi
    ravi avatar
    7 posts
    Member since:
    Mar 2011

    Posted 05 May 2011 Link to this post

    Getting the Error message while executing the test cases on the build server, what could be the problem for this error as the tests are executing good till yesterday morning we are geting this problem from yesterday evening.
    Looks getting the problem while taking the snapshot.

    executing fine while execute from other systems on the build platform.

    Getting the Error message :

    Overall Result: Fail
    System.OutOfMemoryException: Out of memory.

    Server stack trace:
       at System.RuntimeMethodHandle._SerializationInvoke(IRuntimeMethodInfo method, Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
       at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
       at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
       at System.Runtime.Serialization.ObjectManager.DoFixups()
       at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
       at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
       at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
       at System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.FixupForNewAppDomain()
       at System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage reqMsg)

    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at ArtOfTest.WebAii.Design.Execution.ITestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTest(Test testcase, Settings settings, String testBinaryFolder, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)
    ------------------------------------------------------------
    '04/05/2011 16:40:05' - Overall Result: Fail
    '04/05/2011 16:40:05' - Duration: [0 min: 0 sec: 0 msec]
    ------------------------------------------------------------
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 12 May 2011 Link to this post

    Hi Ravi,
       what version of the Testing Framework are you using? A while back there was a known issue that could lead to this behavior if a TestList encounters a huge number of failures. I believe it was fixed so please try upgrading the the latest available version of the Testing Framework.

    How much RAM does the machine have? Also, try increasing the swap space on the hard drive.

    Hope to hear from you soon.

    Regards,
    Stoich
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. ravi
    ravi avatar
    7 posts
    Member since:
    Mar 2011

    Posted 18 May 2011 Link to this post

    can you send me the latest version of the run time.

    we are running using the Run time version : 01027Telerik.WebUI.TestExecution.2010.3.1307.

    in our build system we use 8GB RAM.

    you can see the attachment 

    Physical memory usage on TFS-AP223 in the last 24hrs.  

    the max available memory free doesn’t drop below 2.5Gb any time

    Once the Telerik Runtime version is installed, is there a servcie that starts running on the server?
    if so can we restart the service on the server before executing the each set of test cases.

    As we have diffrent Telerik tests running, each for a different web application.

  4. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 18 May 2011 Link to this post

    Hello Ravi,
       I checked out your account. Since you're not a Licensed Developer for Test Studio Runtime you'll need to download the Test Studio Runtime from your License Holder's account (screenshot 1).

    Best wishes,
    Stoich
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. ravi
    ravi avatar
    7 posts
    Member since:
    Mar 2011

    Posted 18 May 2011 Link to this post

    got the latest version of Run time version .
    we are running using the Run time version : 01027Telerik.WebUI.TestExecution.2010.3.1307.

    in our build system we use 8GB RAM.

    you can see the attachment 

    Physical memory usage on TFS-AP223 in the last 24hrs.  

    the max available memory free doesn’t drop below 2.5Gb any time

    Once the Telerik Runtime version is installed, is there a servcie that starts running on the server?
    if so can we restart the service on the server before executing the each set of test cases.

    As we have diffrent Telerik tests running, each for a different web application.

    can we stop this exception from occuring.

  6. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 23 May 2011 Link to this post

    Hi ravi,

    Let's make sure you're running the latest version of the product. Here you states you're running 2010.3 while at your download history I noticed you have the 2011.1 version download as well. Can you please check if the problem persists with the latest R1 (2011.1) as well? Make sure you install Test Studio on your machine and the RunTime Edition 2011.1 on the remote machine so that they can communicate for sure without troubles.

    The only service we keep running after installing the RunTime Edition is the Scheduling Service. I've attached a capture for you to take a look. If you don't schedule tests on that machine you can safety stop that service and see if you still get the issue. If your memory doesn't drop as you would expect than there is something else than our service that is keeping the memory high.

    I hope this helps.

    Best wishes,
    Konstantin Petkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top