Forum Visual Studio

Memory only increasing when profiling my app

The graph for resources (memory) used by my application is ever increasing. Does this mean my app doesn't release resources as it should, or is this a normal scenario for the profiler?

Is there a way to find out if the GC works properly?


  • NinaVyedinNinaVyedin USXamarin Team, University, XamUProfessors Xamurai

    Are you seeing memory growth in the graph only? Or memory growth between snapshots?

  • AndreasBrostenAndreasBrosten USMember ✭✭

    The graph. Haven't checked snapshots.

  • MihaMarkicMihaMarkic SI ✭✭✭✭

    Same here. It grows but in reality it doesn't (Android app).

  • Steven123Steven123 GBMember ✭✭

    Ditto, but cant take snapshots to verify

  • MihaMarkicMihaMarkic SI ✭✭✭✭

    Well, at least on Android one can run DDMS (or whatever it is called) and check native memory usage to see that in fact it isn't growing.

  • Steven123Steven123 GBMember ✭✭

    Device Monitor, but running Device Monitor locks up VS hence Profiler

  • MihaMarkicMihaMarkic SI ✭✭✭✭

    You mean it locks if started from within VS? I start it as an app and it works without locking anything.

Sign In or Register to comment.