-
Notifications
You must be signed in to change notification settings - Fork 25
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
Memory waste on image canvas #22
Comments
Hello. Not a software problem I think. Do not know if it's the best solution, but I have solved my problem. |
Thank you very much for the reply. You're right in that little memory of raspberry is a problem, but there comes a part of this challenge ... I've done several tests and find that when creating image objects , loading the source , then to destroy the object or load another image, the memory is still used or consumed by the resource without being released by this resource. Anyway I will continue doing tests and we stay in touch . You done a very good job with this library to work with the raspberry ! regards |
Hi @4inn, thank you for the kind words and sorry for taking so long to get back. I can't at this time investigate much more on this issue. If you are calling vgDestroy, the image buffer on the GPU should be getting released. Otherwise it seems that you may have some kind of memory leak. Can you post some minimum code where you see this happening ? |
Dear Luis, I am using your library Node-OpenVG-Canvas . When loading images in sequential order, so the canvas image source function causes the free memory begins to decrease and it is not released ...
Try through the methods of .vgDestroy but while the image is deleted, the memory allocated to it is not released ...
Is there another way to release it ?
Thank you,
(Sorry for my bad english)
The text was updated successfully, but these errors were encountered: