tags:

views:

52

answers:

0

Hi,

I am using Console.Error.WriteLine() capture a html file which has the details of where the error has occured in the cleanup method.Now there is a large number of testcases which will run sequentialy and since i am using Console.Error.WriteLine() the error is getting stored in memory :(. After a point it is throwing out of memory exception .I dont know how to avoid this problem.I cannot dump the output to a file due the feature requirement.Is there any way to handle this in the memory itself in watin ?Thanks for anykind of help :) .

Below is piece of code Console.Error.WriteLine("" +here the html output of a error page will go+ "");

Thanks, Keshav