Connecting Tech Pros Worldwide Help | Site Map

shdocvw - out of memory exception

Newbie
 
Join Date: Oct 2009
Posts: 4
#1: Oct 13 '09
Hi,

I developed a windows service using VS 2008 C# .Net 2.0, and am using Internet explroer 6.0. I am making use of shdocvw.dll to get the address strings of opened internet explorer windows. It works absolutely fine in debug mode, but throws out of memory error in the event log after installing and trying to start the service and the service fails.

Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Description:
EventType clr20r3, P1 millcomms_service.exe, P2 1.0.0.0, P3 4ad41c2e, P4 millcomms_service, P5 1.0.0.0, P6 4ad41c2e, P7 9, P8 7, P9 system.outofmemoryexception, P10 NIL.

The previous posts did not help much, I hope some one can fix this problem, what would be the remedy? please help me. Thanks in advance.
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#2: Oct 15 '09

re: shdocvw - out of memory exception


Find out where your memory leak is, and correct it.
Newbie
 
Join Date: Oct 2009
Posts: 4
#3: 4 Weeks Ago

re: shdocvw - out of memory exception


I avoided using Shdocvw.dll and managed to use main title of internet explorer window, that did my job. Thanks.
Reply