eoutofresources

Delphi EOutOfResources (GDIError)

我怕爱的太早我们不能终老 提交于 2019-12-10 18:43:17
问题 I have written an application in which I find ocasionally EOutofResources errors raised by GDIError method of Graphics unit when saving TBitmap32 to a stream. As far as I know it can come from gdi limits or heap limits. i know that for the process there is a default limit of 10000 handles. So my application according to the task manager reports only 620. I have downloaded and run Desktop Heap Information Monitor Tool which reported this: Desktop Heap Information Monitor Tool (Version 8.1.2925

Hunting down EOutOfResources

北城以北 提交于 2019-12-03 17:58:20
问题 Question: Is there an easy way to get a list of types of resources that leak in a running application? IOW by connecting to an application ? I know memproof can do it, but it slows down so much that the application won't even last a minute. Most taskmanager likes can show the number, but not the type. It is not a problem that the check itself is catastrophic (halts the app process), since I can check with a taskmgr if I'm getting close (or at least I hope) Any other insights on resource leak

Hunting down EOutOfResources

只谈情不闲聊 提交于 2019-11-29 06:32:29
Question: Is there an easy way to get a list of types of resources that leak in a running application? IOW by connecting to an application ? I know memproof can do it, but it slows down so much that the application won't even last a minute. Most taskmanager likes can show the number, but not the type. It is not a problem that the check itself is catastrophic (halts the app process), since I can check with a taskmgr if I'm getting close (or at least I hope) Any other insights on resource leak hunting (so not memory) is also welcomed. Background: I've an Delphi 7/2006/2009 app (compiles with all