- Home /
Detect RAM usage of program
I've been looking around for ways to programmatically find the RAM usage of my program through Unity, and have come up short. There's a bunch of ways to do it specifically on Android/iOS, but I can't find a single post anywhere about just using Unity to do it (which is what I need). Does Unity have any way of determining the RAM usage of the program? I need to display it on screen (on the phone I build to).
Hi Darkhydro Do you find any elegant solution for this issue.. even i am facing this dilemma :(
Try using the Process class which mono compatibility states is available in subset 2.0 and 2.0.
Process p = Process.GetCurrentProcess();
var memoryused = p.WorkingSet64;
Process.GetCurrentProcess().WorkingSet64
doesn't seem to work - it returns 0 on Editor and iOS.
Your answer
Follow this Question
Related Questions
C++ windows DLL and Android? 1 Answer
How can I know when the user slide his finger? 0 Answers
using Address book contacts in unity 1 Answer
Approach to download and load AR/ VR from server 0 Answers
How does updating a game work? 0 Answers