Hello,
i have a question on my mind.
Iam developing application which uses twain layer to scan images. So far everything worked fine, but today while testing i got Attempted to read or write protected memory error.
Basicly what i do:
- set capabilities via imported dll calls of twain.dll
- call acquire call via imported dll calls of twain.dll
i get back IntPtr on the data from scanner,...
Search Result
Collapse
2 results in 0.0015 seconds.
Keywords
Members
Tags
-
Attempted to read or write protected memory = memory leak?
-
Shouldn't all memory be freed after a page is served?
Sporadically, I am receiving "out of memory" errors on my websites. In my performance monitor (Debug Diagnostic Tool), I can watch virtual bytes skyrocket until it causes an "out of memory" error on my website.
What could be causing this? Even if I have piss-poor code with plenty of unclosed, un-nothing'ed objects, shouldn't the memory be freed after the page is served to the user? That is, nothing should be...