Garbage collect (or what?)
- From: Dave D-C <dacromley@xxxxxxxxxxx>
- Date: Sat, 01 Dec 2007 09:55:25 -0700
Hello,
Using XL97VBA/WIN98 and SendKeys and Appactivate and
Shell, I'm successfully able to make thumbnails with either
Paint or Photoshop Elements. But, after processing 100 or so
images, it seems the system gets bogged down or
something, and Paint gets "out of memory" errors and
Photoshop also gets a problem, I don't know what.
I've run "Accesories/System Monotor" and know that
memory allocation is high and swap usage is high.
Q's:
1) Can I call some kind of "Garbage Collect" API
every once in awhile to keep things cleaner?
2) Can I call some kind of "Memory Usage" or
"Swap Usage" API and maybe terminate/re-shell
the program based on that?
I haven't tried to terminate/re-shell on a regular basis --
maybe that's a solution.
TIA, D-C Dave
.
- Follow-Ups:
- Re: Garbage collect (or what?)
- From: Steve Easton
- Re: Garbage collection "tutorials"
- From: mr_unreliable
- Re: Garbage collect (or what?)
- From: mr_unreliable
- Re: Garbage collect (or what?)
- Prev by Date: Re: Cap CPU Utilization
- Next by Date: Re: Cap CPU Utilization
- Previous by thread: Re: Cap CPU Utilization
- Next by thread: Re: Garbage collect (or what?)
- Index(es):
Relevant Pages
|