Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[GTK] Xamarin doesn't free memory #5977

Closed
dario279 opened this issue Apr 23, 2019 · 4 comments
Closed

[GTK] Xamarin doesn't free memory #5977

dario279 opened this issue Apr 23, 2019 · 4 comments
Labels
help wanted We welcome community contributions to any issue, but these might be a good place to start! inactive Issue is older than 6 months and needs to be retested p/gtk s/unverified New report that has yet to be verified t/bug 🐛 up-for-grabs We welcome community contributions to any issue, but these might be a good place to start!

Comments

@dario279
Copy link

Description

Steps to Reproduce

  1. Open project and launch

Expected Behavior

Garbage collector should free memory after pop a page.

Actual Behavior

Garbage collection doesn't free memory after pop a page.

Basic Information

  • Version with issue: All versions
  • Platform Target Frameworks:
    GTK
    TestHMI.zip
@dario279 dario279 added s/unverified New report that has yet to be verified t/bug 🐛 labels Apr 23, 2019
@knocte
Copy link
Contributor

knocte commented Apr 23, 2019

Originally reported in mono/gtk-sharp#269

@amirvenus
Copy link

AFAIK, you cannot forcibly tell GC to collect your garbage. GC.Collect may or may not collection what we expect it to. But, I do see that there is a clear behavioural difference in GTK and iOS when calling GC.Collect after popping a page.

@knocte
Copy link
Contributor

knocte commented Apr 23, 2019

As explained in the original report (mono/gtk-sharp#269) this might be related to not releasing delegates from event handlers (so not related to GC actually).

@PureWeen PureWeen added the p/gtk label Apr 29, 2019
@PureWeen PureWeen changed the title Xamarin doesn't free memory [GTK] Xamarin doesn't free memory Apr 29, 2019
@samhouts samhouts added inactive Issue is older than 6 months and needs to be retested help wanted We welcome community contributions to any issue, but these might be a good place to start! up-for-grabs We welcome community contributions to any issue, but these might be a good place to start! labels Oct 20, 2019
@jfversluis
Copy link
Member

Taking into consideration the remaining lifetime of Xamarin.Forms, the platform this is about, the age of this issue and the traction this issue has seen I think it's unlikely that this will get fixed. If it is something that you still would like to have, please consider opening a PR. Thanks!

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted We welcome community contributions to any issue, but these might be a good place to start! inactive Issue is older than 6 months and needs to be retested p/gtk s/unverified New report that has yet to be verified t/bug 🐛 up-for-grabs We welcome community contributions to any issue, but these might be a good place to start!
Projects
None yet
Development

No branches or pull requests

6 participants