Git Product home page Git Product logo

Comments (16)

hannesa2 avatar hannesa2 commented on July 3, 2024

It has the touch of #79
Please make a pull request here where I can easy reproduce the issue.
I mean not: sometimes it has this error.
I mean: let something iterate and then I see ... what ?

Exactly, show me your logcat entry of this error. Even #79 never show me the exact error

from panoramagl.

mupm1 avatar mupm1 commented on July 3, 2024

I made a loop that changes the image every second.
The memory fills up and the application closes. Is there a solution to this?

my code is here

Profiler image

from panoramagl.

hannesa2 avatar hannesa2 commented on July 3, 2024

Thank you for the sample, I squashed all 3 commits to see an overall of your changes. Because of missing permission to push to your branch I created this pull request #107 with your changes

  • squash all your commits
  • remove old build leftovers in Gradle files

image

Sorry I didn't see the issue and here is the complete movie
Memory.mov

A

Please test my pull request. #107

B

Compare to my screencast, what did you different ?

from panoramagl.

mupm1 avatar mupm1 commented on July 3, 2024

Thanks for the review. I tested this brunch but it still has the same problem.

image

from panoramagl.

hannesa2 avatar hannesa2 commented on July 3, 2024

Hmm, I use a api30 device (see screenshot) and you ?

from panoramagl.

mupm1 avatar mupm1 commented on July 3, 2024

I use android 11. Samsung A70

from panoramagl.

hannesa2 avatar hannesa2 commented on July 3, 2024

Maybe it's device related ?
Anyway, I can't reproduce, that's why only you can fix it.

I'm happy to approve any pull request

from panoramagl.

mupm1 avatar mupm1 commented on July 3, 2024

no not related to the device, thanks

from panoramagl.

hannesa2 avatar hannesa2 commented on July 3, 2024

When you say, it's not related to the device, then I ask you: where is the relation ?

from panoramagl.

hannesa2 avatar hannesa2 commented on July 3, 2024

Your memory consumption is "Graphics"
image

I don't have this
image

from panoramagl.

mupm1 avatar mupm1 commented on July 3, 2024

Can you test on a real device?

from panoramagl.

mupm1 avatar mupm1 commented on July 3, 2024

All bitmaps are recycled but not erased from memory

from panoramagl.

hannesa2 avatar hannesa2 commented on July 3, 2024

Indeed, on a Pixel 4 running Android 11 I observe it. But it's not dying
image

from panoramagl.

hannesa2 avatar hannesa2 commented on July 3, 2024

It seems it hast do do with GL, please search for graphics

This could be a solution flutter/flutter#26837 (comment)

from panoramagl.

hannesa2 avatar hannesa2 commented on July 3, 2024

Now, it comes with this memory consumption on a Pixel 4
image

@mupm1 @safe-bug please test with your device this branch #107
If all is fine, I'll create a new release

from panoramagl.

mupm1 avatar mupm1 commented on July 3, 2024

it works great. thanks
Capture

from panoramagl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.