Skip to content

What is the memory footprint? #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nanfang2000 opened this issue Jul 13, 2020 · 6 comments
Closed

What is the memory footprint? #67

nanfang2000 opened this issue Jul 13, 2020 · 6 comments

Comments

@nanfang2000
Copy link

app size and memory usage?

@DisDis
Copy link
Contributor

DisDis commented Jul 13, 2020

I have application
image
RaPi4 (4Gb Ram)
flutter_assets ~ 31Mb

@nanfang2000
Copy link
Author

@DisDis Thank you for you info!

@nanfang2000
Copy link
Author

338MB-63MB=275MB! That is a surprise number.
My test on Flutter Mac desktop app shows the release version is only 70MB.
the debug version is bigger which is 200+MB. So I guess your number is based on debug version? @DisDis

I would like to porting flutter to a low end device which only has 128MB memory. so now I'm wondering whether it is feasible.

@ardera
Copy link
Owner

ardera commented Jul 16, 2020

So I guess your number is based on debug version?

Yeah flutter-pi only supports debug mode right now. Though I'm working on AOT support.

@DisDis
Copy link
Contributor

DisDis commented Jul 30, 2020

After enabling AOT.
I have 200mb-74mb=126Mb
image

@ardera
Copy link
Owner

ardera commented Aug 6, 2020

I have a small test app that is just a Scaffold with an AppBar and a Chewie Player playing back an MP4 fetched via web.

  • flutter-pi process: virt 214M, res 52M, shr 35M.
  • separate omxplayer process that actually plays back the video: res 39M, shr 21M

When running the flutter gallery app in release mode:

  • virtual 267M, reserved 103M, shared 52M

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants