public static string GetMemory()
{
Process proc = Process.GetCurrentProcess();
long b = proc.PrivateMemorySize64;
for (int i = 0; i < 2; i++)
{
b /= 1024;
}
return b + "MB";
}