###get byte size of string
usually String.Length should be sufficient, but yeah unicode.
Console.WriteLine("Hello World is {0} bytes", Encoding.UTF8.GetByteCount("Hello World"));
source: http://stackoverflow.com/a/9761824/105282
###get memory usage in bytes of process