Flutter memory leak detection

Overview

flutter_memory_leak_check

It is easy to know whether a variable is correctly reclaimed by memory.

principle:

By using the reference as the key of the weak reference, when the GC is executed, if the reference can be recycled, it will be deleted from the weak reference.

step 1:Add debugging options

--observatory-port=50443

step 2:Run port forwarding tool

cd forwarding_tool
go run main.go

Getting Started

// Flutter memory leak detection toolkit.

late MemoryChecker globalChecker = MemoryChecker("192.168.80.144");

let List memoryLeakList = [];
globalChecker.addWatch(memoryLeakList, remarks: "watch memoryLeakList note");

globalChecker.forceGC();

/// Will print `memoryLeakList` failed to recycle
globalChecker.checkGC();
You might also like...

Flutter: QR Code Scanner App Flutter: QR Code Scanner App

Flutter: QR Code Scanner App Flutter: QR Code Scanner App

Flutter QRCode Scanner APP Show some ❤️ and star the repo to support the project A new Flutter project. Features Scan 2D barcodes Scan QR codes Contro

Nov 10, 2022

Flutter: Integrate Google Maps Tutorial Flutter: Integrate Google Maps Tutorial

Flutter: Integrate Google Maps Tutorial Flutter: Integrate Google Maps Tutorial

Flutter Google Maps APP Show some ❤️ and star the repo to support the project A new Flutter project. Getting Started Flutter Project Add this to your

Oct 27, 2022

Create an Invoice PDF Document completely with Flutter and learn how to generate and view this invoice in Flutter.

Create an Invoice PDF Document completely with Flutter and learn how to generate and view this invoice in Flutter.

Create an Invoice PDF Document completely with Flutter and learn how to generate and view this invoice in Flutter.

Jan 4, 2023

Flutter demo application for Apple TV (tvos) using custom Flutter engine

Flutter demo application for Apple TV (tvos) using custom Flutter engine

Flutter for Apple TV A modification of the Flutter engine + test application to demonstrate that Flutter applications run on Apple TV This project (an

Dec 30, 2022

Udacity UI Clone made with Flutter Web (Flutter 2.0).

Udacity UI Clone made with Flutter Web (Flutter 2.0).

Udacity UI Clone Flutter Web 2.0 Description: Udacity UI Clone made with Flutter Web (Flutter 2.0). ScreenShots: Tools & languages: Android studio (ID

Oct 13, 2022

A Flutter application to demonstrate how to implement Google maps and its advanced options in a flutter app.

A Flutter application to demonstrate how to implement Google maps and its advanced options in a flutter app.

google_maps_flutter_example A new Flutter application to demonstrate how to implement flutter google maps in a flutter application and perfoem advance

Jan 8, 2023

🔥 A low-cost Flutter screen adaptation solution (类似今日头条屏幕适配方案,一个极低成本的 Flutter 屏幕适配方案)。

🔥 A low-cost Flutter screen adaptation solution (类似今日头条屏幕适配方案,一个极低成本的 Flutter 屏幕适配方案)。

screen_autosize 🔥 A low-cost Flutter screen adaptation solution (参考今日头条 Android 屏幕适配方案的实现原理,实现的一个极低成本的 Flutter 屏幕适配方案)。 Flutter 屏幕适配方案,可做到 100% 还原设计稿

Dec 17, 2022

:atom: 🚀 NLW Quiz Dev - Flutter (a simple flutter quiz app built in Rocketseat Next Level Week)

:atom: 🚀 NLW Quiz Dev - Flutter (a simple flutter quiz app built in Rocketseat Next Level Week)

Que tal acompanhar live codings de projetos reais ao vivo? Segue lá na twitch: Wilson Neto Dev na Twitch Next Level Week - Dev Quiz (NLW) Dev Quiz is

Jul 13, 2022

A re-modding of the Flutter 2.5 Skeleton App Template into something that really equally shows flutter best practices in DevOPS, OOP, and UX.

A re-modding of the Flutter 2.5 Skeleton App Template into something that really equally shows flutter best practices in DevOPS, OOP, and UX.

A re-modding of the Flutter 2.5 Skeleton App Template into something that really equally shows flutter best practices in DevOPS, OOP, and UX.

Dec 22, 2022
Owner
Waytoon
Chimera Flutter Code Push!
Waytoon
Real time object detection app with flutter

Build an application to teach children with artificial intelligence using flutter and tflite. this application includes many fields like objects detection,animals recognition,superheroes detections , fruits recognition...

Seif eddine Riahi 35 Apr 26, 2022
Tried my hands first time on Machine Learning 🤖. It's an Face Detection app 😀which higlights the face of a person from image 🖼️.

Flutter Face Detector ML This is the source code for Flutter Face Detector ML. App Features Select Images From Gallery. Detecting All Faces In Image A

Nikhil Pawar 5 Apr 20, 2021
Flutter Responsive Game of Thrones Flutter App Flutter Responsive Game of Thrones Flutter App

got_2019 A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Pawan Kumar 16 Jun 9, 2022
Flutter RxDart Explained - The Flutter Way Flutter RxDart Explained - The Flutter Way

rx_demo A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Pawan Kumar 27 Oct 13, 2021
Flutter social button - A flutter package to create social media login buttons easily to any flutter app

Flutter Social Button is a flutter package to create social media login buttons easily to any flutter app.

Alok Dubey 10 Dec 5, 2022
Flutter Gender Prediction App Flutter Gender Prediction App

gender_predictor A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Pawan Kumar 30 May 31, 2022
Beautiful Nike Web Design Concept With Flutter Beautiful Nike Web Design Concept With Flutter

flutter_web_nike A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Pawan Kumar 23 Jan 28, 2022
Flutter Music Player - First Open Source Flutter based material design music player with audio plugin to play local music files.

Flutter Music Player First Open Source Flutter based Beautiful Material Design Music Player(Online Radio will be added soon.) Demo App Play Store BETA

Pawan Kumar 1.5k Jan 2, 2023
Flutter Login Page Bloc Pattern App Flutter Login Page Bloc Pattern App

gdgbloc A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Pawan Kumar 99 Oct 20, 2022