I'm working on a suite of simulation software which does a lot of drawing between BufferedImages and I have run into a memory issue with Graphics2D.drawImage(Image, AffineTransform, ImageObserver), where AffineTransform includes a rotation.
According to J-Sprint 99%+ of my memory allocation is occuring when DrawImage.transformImage calls IntegerInterleavedRaster.createCompatibleWritableRaster(int, int). This is causing massive thrashing in the garbage collector and horrible stuttering in my graphics. Anybody have any advice on how to eliminate this? The source and destination images are identical format. I'm not even sure what it's doing - creating a temporary raster to draw the rotated image into? thanks, eli curtz [EMAIL PROTECTED] =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
