Hi Alexander,
If the problem in the line you mentioned in your first post and you are using VBScript, then instead of
Sys.Process("Lokaldelen.Silverado.Client").CPUUsage + "," + Sys.Process("Lokaldelen.Silverado.Client").MemUsage + "\r\n"
I would use this:
Sys.Process("Lokaldelen.Silverado.Client").CPUUsage & ", " & Sys.Process("Lokaldelen.Silverado.Client").MemUsage & vbCrLf
BTW, you can also consider AQtime (
http://smartbear.com/products/development-tools/performance-profiling/ or
http://www.automatedqa.com/products/aqtime/) which is far better tool of the same company if you are interested in memory leaks and resources usage profiling.