Rank: Advanced Member Groups: Member
Joined: 3/13/2017 Posts: 33
|
Hi,
I've looked at the posts regarding the multiple rundll32 files, or the multiple eowp.17.1.76.0 files, that are created when I use ThreadRunner.
Here's the scenario: I'm using Threadrunner in a Thread, to check multiple web pages for a particular string in the text.
Each time I run the Module that contains the Threadrunner, it opens another instance of the rundll32 program in memory, that I see in Task Manager.
The issue is that the instances of rundll32 are not releasing. They are staying in memory. Each time I run another ThreadRunner query, it adds another instance. The instances are not releasing until I close my program, at which time they all release.
I have tried dimensioning the ThreadRunner as a Public declaration vs. declaring it in the Module, but it doesn't make any difference.
What is the cure for this? If I let the user run too many ThreadRunner queries, the computer locks up due to memory shortages.
Is there a way to release those excessive rundll32 instances?
Please reply soon!
Thanks!
Kim
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi,
Make sure you call WebView.Destroy to destroy the WebView you created through the ThreadRunner. The number of rundll32.exe is directly linked to WebView instances.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 3/13/2017 Posts: 33
|
Thanks for the quick reply.
That did it!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Great. Glad to hear that!
|