remove all value of controller in flutter from memory with getx packages

1.8k Views Asked by At

I'm working on flutter desktop application , where I need to delete all variables when move from page to another so I'm using getx packages, so in the home page the app use about 138mb of memory

when I navigate to second page it use about 380mb of memory ,and when navigate back to home page it still using the same amount of memory although it shows in the console that the controller is deleted from memory. I'm also using

Get.offNamed()

and

Get.delete<ControllerName>()

but that's not working

0

There are 0 best solutions below