Code Monkey home page Code Monkey logo

Comments (11)

kustraslawomir avatar kustraslawomir commented on May 18, 2024 6

@shock-wave007 @burhanrashid52

call GLES20.glDeleteTextures(2, mTextures, 0) before GLES20.glGenTextures(2, mTextures, 0) at loadTextures() method to resolve memory issue.

from photoeditor.

burhanrashid52 avatar burhanrashid52 commented on May 18, 2024 2

We are using GLSurfaceView for image filtering which takes more resources to filter images. Thanks for the update I will look into it

from photoeditor.

mohammad1ta avatar mohammad1ta commented on May 18, 2024 1

Hi,
No solution? :(

I have this issue to, I submitted this problem in stackoverflow

from photoeditor.

mohammad1ta avatar mohammad1ta commented on May 18, 2024 1

@shock-wave007 @burhanrashid52

call GLES20.glDeleteTextures(2, mTextures, 0) before GLES20.glGenTextures(2, mTextures, 0) at loadTextures() method to resolve memory issue.

Thank you dear Kustra,
I tested your solution and helped me a few to control memory. ( after set filter, memory will be back to old step ).
But still its high memory usage...

from photoeditor.

maximusapp avatar maximusapp commented on May 18, 2024 1

@shock-wave007 @burhanrashid52
call GLES20.glDeleteTextures(2, mTextures, 0) before GLES20.glGenTextures(2, mTextures, 0) at loadTextures() method to resolve memory issue.

Thank you dear Kustra,
I tested your solution and helped me a few to control memory. ( after set filter, memory will be back to old step ).
But still its high memory usage...

Your tip help me, but that its help me, you need export this project like module, not implement in gradle. Memory not increase but app still crash

from photoeditor.

shock-wave007 avatar shock-wave007 commented on May 18, 2024

Its ok if we apply 2-3 filter, but as we keep cycling through filters, memory keep increasing.

Setps to reproduce result
Run in ADV or device
Open resource monitor in Android studios
And change fliter

As u change it just keep consuming memory
The slope in memory graph

from photoeditor.

IgorKlv avatar IgorKlv commented on May 18, 2024

@kustraslawomir I applied your solution, yet it has not helped to conserve memory and the App continually crashes after resuming filter selection.

from photoeditor.

el-Knix avatar el-Knix commented on May 18, 2024

Hey there did anyone manage to find a solution to this issue?

from photoeditor.

burhanrashid52 avatar burhanrashid52 commented on May 18, 2024

The solution by @kustraslawomir worked @mohammad1ta ?

from photoeditor.

mohammad1ta avatar mohammad1ta commented on May 18, 2024

The solution by @kustraslawomir worked @mohammad1ta ?

Yes, at the first time, When I use filter, memory will grow up from about 130MB to 232MB ( Because Graphics memory 0MB to 96MB ).
after second changing in filter, memory increases to 260MB and decrease back to 235MB.

from photoeditor.

wifirevaithi avatar wifirevaithi commented on May 18, 2024

hi, Is there is any permanent Solution For this Problem..? @burhanrashid52 @kustraslawomir

from photoeditor.

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.