Comments (11)
@shock-wave007 @burhanrashid52
call GLES20.glDeleteTextures(2, mTextures, 0) before GLES20.glGenTextures(2, mTextures, 0) at loadTextures() method to resolve memory issue.
from photoeditor.
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.
Hi,
No solution? :(
I have this issue to, I submitted this problem in stackoverflow
from photoeditor.
@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.
@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.
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.
@kustraslawomir I applied your solution, yet it has not helped to conserve memory and the App continually crashes after resuming filter selection.
from photoeditor.
Hey there did anyone manage to find a solution to this issue?
from photoeditor.
The solution by @kustraslawomir worked @mohammad1ta ?
from photoeditor.
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.
hi, Is there is any permanent Solution For this Problem..? @burhanrashid52 @kustraslawomir
from photoeditor.
Related Issues (20)
- How to post images burhanrashid to retrofit? HOT 2
- Able to draw with brush by zooming or pinching for best results HOT 3
- Set shape opacity on shapeBuilder doesn't work HOT 7
- Save Image to Cache. HOT 3
- [Bug] saving an image (even without applying filter or brush or anything) will change image dimensions HOT 3
- Leak Graphics memory when changing filter. HOT 4
- Make ViewState public, and return back the final Bitmap after saveAsFile HOT 9
- How to scale source image to fit the space HOT 5
- After save image, the width and height of new saved image was shrink, not like original image size. HOT 2
- After Applying Filter (save image showing black) HOT 2
- Ability to make collage HOT 3
- When app opens Camera photos it rotates them HOT 4
- Android 10 saveAsFile failed to save File cause by open failed: EACCES (Permission denied) HOT 6
- Trying to draw too large bitmap HOT 2
- mPhotoEditor.addImage(bitmap) is not resovled or found in the latest version HOT 2
- Share to PhotoEditor HOT 2
- Open app on blank slate HOT 2
- Adjustable/customizable filters HOT 2
- Edit and resize shape HOT 2
- Initial set image is appearing smaller than the original size HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photoeditor.