Garbage collect (or what?)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
.



Relevant Pages

  • Re: Report Layout
    ... And now it displays fine and I don't run out of memory. ... make sense to me why if I look at the attributes in Paint it says something ... Why don't you have a peek at the picturebox properties. ... quality is critical for this form.. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: using CClientDC::BitBlt() to capture only the client window
    ... There are generally 2 types of paint programs, ones that simply draw, like ... to the memory dc with the bitmap selected in it. ... And in the OnPaint method of your view, you would simply bitblt the content ... BitBltto capture the drawing area that is the window of my ...
    (microsoft.public.vc.mfc)
  • Re: a new drawing not erase previous drawing?
    ... I will paint it all over again. ... I really don't know what I would do if there were, say, 25 curves... ... But I have applications with about 12 arrays of a million points and there is no memory problem. ... It will not resize when resizing the window. ...
    (microsoft.public.vc.mfc)
  • Re: Camera Recomendations
    ... results with JPEG on the higher-resolution digitals. ... Shop Pro may work. ... then look at Photoshop Elements. ... (For that matter, if Paint Shop can ...
    (misc.news.internet.discuss)
  • Re: OT: Best Inexpensive Point n Shoot
    ... cameras you need to know that 8Gigs will hold a *lot* of pictures. ... just in case something happens to the camera or the memory card. ... He was using a small rock with some paint spilled on it when he went to the stores to use for matching. ...
    (rec.outdoors.rv-travel)