ZennoPoster Memory Usage Increases & Increases Until it Crashes - Template Attached
I made a template that analyzes the top ten results of Google for a list of given keywords. The template works 100% perfectly, with the exception that ZP crashes after awhile. The template throws no error messages while running, and successfully completes with the message "Template C:\xxx\TopTen.xml is executed successfully!".
However, ZP does not seem to be releasing the used memory upon completion. For example, lets say I'm running just one thread. If I open up Windows Task Manager to view my processes, I've got ZennoPoster.exe & instance.exe running.
Initially, upon opening and starting this particular template, ZennoPoster.exe's "Memory (private working set)" (as viewed in Windows Task Manger) usage is at about 170,000K and instance.exe is at about 56,000K.
As the template works, the amount of memory used by each obviously increases. Instance.exe typically gets up to about 67,000K just before it completes. Once the ZP returns the message "Template C:\xxx\TopTen.xml is executed successfully!" the amount of memory used by Instance.exe drops all the way back down to what it was when it started.
However, ZennoPoster.exe's memory usage DOES NOT decrease. In fact, it goes up. It continues to go up and up, all the way to well over 1,300,000K just before it crashes. It takes about an hour and a half when running just one instance before it reaches that much memory usage and crashes, and in that hour and a half span, the template completes well over 20 or so times. It's crashing because ZennoPoster.exe is out of memory.
I can even run this particular template with multiple threads with no problems, but it just reaches the point at which it crashes that much faster.
And it isn't that my PC is out of memory, it's that ZP is reaching the maximum allowed memory usage for a 32-bit program.
Other templates I've created do not have this error, and will run just fine for hours/days at a time with no issues at all. I've written and rewritten and rewritten this particular template (and let me tell you, this is not pleasant as it is a rather large/complex template) and I keep getting the same results.
I'd be happy to share this template with anybody who might be able to tell me what the issue is, or if somebody could even care to venture a guess as to what the problem is.
I made a template that analyzes the top ten results of Google for a list of given keywords. The template works 100% perfectly, with the exception that ZP crashes after awhile. The template throws no error messages while running, and successfully completes with the message "Template C:\xxx\TopTen.xml is executed successfully!".
However, ZP does not seem to be releasing the used memory upon completion. For example, lets say I'm running just one thread. If I open up Windows Task Manager to view my processes, I've got ZennoPoster.exe & instance.exe running.
Initially, upon opening and starting this particular template, ZennoPoster.exe's "Memory (private working set)" (as viewed in Windows Task Manger) usage is at about 170,000K and instance.exe is at about 56,000K.
As the template works, the amount of memory used by each obviously increases. Instance.exe typically gets up to about 67,000K just before it completes. Once the ZP returns the message "Template C:\xxx\TopTen.xml is executed successfully!" the amount of memory used by Instance.exe drops all the way back down to what it was when it started.
However, ZennoPoster.exe's memory usage DOES NOT decrease. In fact, it goes up. It continues to go up and up, all the way to well over 1,300,000K just before it crashes. It takes about an hour and a half when running just one instance before it reaches that much memory usage and crashes, and in that hour and a half span, the template completes well over 20 or so times. It's crashing because ZennoPoster.exe is out of memory.
I can even run this particular template with multiple threads with no problems, but it just reaches the point at which it crashes that much faster.
And it isn't that my PC is out of memory, it's that ZP is reaching the maximum allowed memory usage for a 32-bit program.
Other templates I've created do not have this error, and will run just fine for hours/days at a time with no issues at all. I've written and rewritten and rewritten this particular template (and let me tell you, this is not pleasant as it is a rather large/complex template) and I keep getting the same results.
I'd be happy to share this template with anybody who might be able to tell me what the issue is, or if somebody could even care to venture a guess as to what the problem is.