Completed
Last Updated: 02 Feb 2015 09:27 by ADMIN
ADMIN
Ivaylo
Created on: 26 Jan 2015 07:18
Type: Bug Report
1
Out of memory exception when executing test list with Chrome
While executing the "All tests"  test list (project attached in the internal description) with Chrome the ArtOfTestRunner crashes with the following exception:

[01/22 18:32:27,ArtOfTest.Runner.exe(17404:24),Framework] ExecutionMediator.OnMessageReceived() : EXCEPTION! (see below)

     Outer Exception Type: System.OutOfMemoryException

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

     HRESULT: 0x8007000E (Official ID (if app.) = E_OUTOFMEMORY, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = DNS_ERROR_NO_MEMORY)

     Call Stack:

          at System.Text.StringBuilder.ExpandByABlock(Int32 minBlockCharCount)

          at System.Text.StringBuilder.Append(Char* value, Int32 valueCount)

          at System.Text.StringBuilder.Append(Char[] value, Int32 startIndex, Int32 charCount)

          at System.IO.StringWriter.Write(Char[] buffer, Int32 index, Int32 count)

          at Newtonsoft.Json.Utilities.JavaScriptUtils.WriteEscapedJavaScriptString(TextWriter writer, String s, Char delimiter, Boolean appendDelimiters, Boolean[] charEscapeFlags, StringEscapeHandling stringEscapeHandling, Char[]& writeBuffer)

          at Newtonsoft.Json.JsonTextWriter.WriteEscapedString(String value)

          at Newtonsoft.Json.JsonTextWriter.WriteValue(String value)

          at Newtonsoft.Json.Linq.JValue.WriteTo(JsonWriter writer, JsonConverter[] converters)

          at Newtonsoft.Json.Linq.JProperty.WriteTo(JsonWriter writer, JsonConverter[] converters)

          at Newtonsoft.Json.Linq.JObject.WriteTo(JsonWriter writer, JsonConverter[] converters)

          at Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)

          at Newtonsoft.Json.Linq.JToken.ToString()

          at ArtOfTest.WebAii.Messaging.Process.ExecutionMediator.DeserializeJson[T](JToken token)

          at ArtOfTest.WebAii.Messaging.Process.ExecutionMediator.OnMessageReceived(String sessionId, JObject msg)



1 comment
ADMIN
Iliyan Panchev
Posted on: 02 Feb 2015 09:27
The fix will be part of all the upcoming Test Studio internal and official builds.