|
-
Oct 6th, 2008, 11:07 AM
#1
Thread Starter
Addicted Member
[2008] Paint object memory exception...I think
I have just wrapped up adding all the custom icons and graphics to my software, and when I ran my deployment test I got an unhandled exception before even logging into the software. I changed my unhandled exception code to give me an error message, and I saw the attached image.
I have run into this problem periodically in the past when running in debug mode, but never in my deployed application. If I restart my PC with nothing running in the background the software will get past the login screen. If this is just because I was running the IDE and the debugger several times, that would make sense to me, but I'm still worried that I'm hogging memory in a dangerous way.
Could someone possibly look at the attached pictures and give me an idea as to what might be going on, or how to solve it (hopefully!).
Thanks in advance!
-
Oct 6th, 2008, 05:46 PM
#2
Re: [2008] Paint object memory exception...I think
Well, you may have a memory leak somewhere. Post your code.
-
Oct 7th, 2008, 09:13 AM
#3
Thread Starter
Addicted Member
Re: [2008] Paint object memory exception...I think
I thought VB didn't allow memory leaks due to the trash collector?
-
Oct 7th, 2008, 09:29 AM
#4
Re: [2008] Paint object memory exception...I think
Well, check your ram usage before, during, and after the error. I've had this error before, and it was due to the fact I had a memory leak in a connection sequence (Endless loop in the try statement, that quickly filled up the memory).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|