2006-10-10, 07:13 PM
Quote:Some googling reveals that in GDI, you can only keep handles to 10,000 GDI objects per process, then it crashes.Yeah, I pretty much guessed that would be the case given your original description of the problem.
Quote:Are the handles to the Bitmaps or Graphics objects passed by render() stored anywhere?No, they're released immediately after they're used, but given the way you test works, its probably just a matter of the garbage collection not getting a chance to run.