Igelqott
14 years agoNew Contributor
WriteToTextFile with + and ","
Hi, im currently evaluating your software, to see if its something we can use.
Atm, im trying to find memoryleaks by opening a WPF client from a SmallTalk enviorment, and by doing so i want to log the memory usage aswell as the CPU usage.
I found your tutorial and did the same thing, and the string input i used is this:
Sys.Process("Lokaldelen.Silverado.Client").CPUUsage + "," + Sys.Process("Lokaldelen.Silverado.Client").MemUsage + "\r\n"
If i remove all of the "," and + and "\r\n", it works flawlessly, i get the information in my csv or txt file, like so:
But if i add it, so i can read the output, i get nothing in the file.
Also textcodingtype 20 and 22, returns chinese letters.
The tutorial was an older version, so that might be the problem here.
hope you can help, best regards
Atm, im trying to find memoryleaks by opening a WPF client from a SmallTalk enviorment, and by doing so i want to log the memory usage aswell as the CPU usage.
I found your tutorial and did the same thing, and the string input i used is this:
Sys.Process("Lokaldelen.Silverado.Client").CPUUsage + "," + Sys.Process("Lokaldelen.Silverado.Client").MemUsage + "\r\n"
If i remove all of the "," and + and "\r\n", it works flawlessly, i get the information in my csv or txt file, like so:
But if i add it, so i can read the output, i get nothing in the file.
Also textcodingtype 20 and 22, returns chinese letters.
The tutorial was an older version, so that might be the problem here.
hope you can help, best regards