Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BufferedImages not garbage collected -- any suggestions?




On Mar 29, 2006, at 11:13 AM, Rob Cope wrote:


Given what others have observed about BufferedImage.flush(), I'm wondering how you are creating your BufferedImages. If you are having the component create it, or calling createCompatibleImage(), then maybe you are getting a subclass of BufferedImage that does something different? Sorry, I haven't got time to test that right now, but it would interesting to know.


Rob


Hi Rob.

This is an excellent question, indeed. It is definitely worth mentioning that I am using the "createCompatibleImage()" method of the Component's top-level container (JFrame) to create the BufferedImage instances.

If I get a second later on, I'll determine exactly which Class is being returned by that method.

Regards,
-Mike Ellis

=========================
Michael F. Ellis
President
Ellis Softworks Inc.
----------
Phone:  (941) 713-0361
Email: email@hidden
Web: http://www.ellissoftworks.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: BufferedImages not garbage collected -- any suggestions? (From: Michael Ellis <email@hidden>)
 >Re: BufferedImages not garbage collected -- any suggestions? (From: Michael Hall <email@hidden>)
 >Re: BufferedImages not garbage collected -- any suggestions? (From: Michael Ellis <email@hidden>)
 >Re: BufferedImages not garbage collected -- any suggestions? (From: Rob Cope <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.