Related to my previous question: Preventing Memory issues when handling large amounts of text
Is
long bytes = System.Diagnostics.Process.GetCurrentProcess().WorkingSet64 for more See Here