Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
tenij000 Regular Member Joined: 30/05/2025 Location: NetherlandsPosts: 56
Posted: 09:45am 31 Jan 2026
Copy link to clipboard
Print this post
picovga if load few image from sdcard run out of memory
is there a way free up the memory again after you done whit the picture
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10917
Posted: 10:15am 31 Jan 2026
Copy link to clipboard
Print this post
I appreciate this is second language for you, but you need to give us more information in order to help. Do the following. Load image then include MEMORY command. This will show the memory used. Then load another image and run MEMORY. You shouldn't see the memory usage increasing unless there is a memory leak that needs fixing. I don't see any sign of a memory leak in my testing so it may be something your program is doing. If you do see memeory increasing please post the images that cause the problem as it may be something to do with the specific encoding used.
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 4221
Posted: 01:54pm 31 Jan 2026
Copy link to clipboard
Print this post
Probably a good idea to post a small program to show the problem.