evanolds Posted September 26, 2006 Share Posted September 26, 2006 I'm not sure if there is even technically such thing as a memory leak in managed code but here is what I saw. I open up about 8 large JPEGs and the memory usage according to task manager is 150, 300 (RAM, Virtual). I proceed to close all the images using the X's in the upper right thumbnail panel. After this there are no images open and the memory usage is about 200,300. I then open an image from file and start working with it and my hard drive starts clicking away since the memory usage is now about 210,300 (I only have 384 RAM). I know managed code is going to free some of the memory when it can, but is there anything that can be done about this? Quote There are no warranties whatsoever on my plug-ins. Use them at your own risk. You may redistribute them if you'd like, but I'd prefer you just link to the download on my site. Please do not modify and redistribute. Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 26, 2006 Share Posted September 26, 2006 Oh wow, you are right. And yes, there are such things as memory leaks in managed code. They are extra nefarious to find. And they are especially easy to make when you are allocating non-managed heap memory, like we do a lot. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
SearedIce Posted September 26, 2006 Share Posted September 26, 2006 Wow...good call, evanolds. I was sorta wondering why my computer was having some memory use issues after testing to see what happens to the thumbnail viewer when you open up a bunch of stuff a few days ago. A memory leak certainly explains the problem...the heap can be nasty. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.