Thus spake "b5mith":
> Hi Joel.  I hope this is readable.  I'm using 512Mb, Java 1.5.0_06
> 
> java.awt.image.ImagingOpException: Unable to transform src image
>       at java.awt.image.AffineTransformOp.filter(Unknown Source)
>       at sun.java2d.pipe.DrawImage.renderImageXform(Unknown Source)
>       at sun.java2d.pipe.DrawImage.transformImage(Unknown Source)
>       at sun.java2d.pipe.DrawImage.transformImage(Unknown Source)
>       at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
>       at sun.awt.image.ImageRepresentation.drawToBufImage(Unknown Source)
>       at sun.java2d.pipe.DrawImage.transformImage(Unknown Source)
>       at sun.java2d.pipe.ValidatePipe.transformImage(Unknown Source)
>       at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
>       at
> VASSAL.tools.DataArchive.createTransformedInstance(DataArchive.java:266)
>       at VASSAL.tools.DataArchive.getTransformedImage(DataArchive.java:212)
>       at VASSAL.tools.DataArchive.getScaledImage(DataArchive.java:293)
>       at
> VASSAL.build.module.map.boardPicker.Board.getScaledImage(Board.java:234)
>       at VASSAL.build.module.map.boardPicker.Board.drawRegion(Board.java:214)
>       at VASSAL.build.module.Map.drawBoardsInRegion(Map.java:1289)
>       at VASSAL.build.module.Map.paintRegion(Map.java:1280)
>       at VASSAL.build.module.Map$View.paint(Map.java:2213)
>       at javax.swing.JComponent.paintChildren(Unknown Source)
>       at javax.swing.JComponent.paint(Unknown Source)
>       at javax.swing.JViewport.paint(Unknown Source)
>       at javax.swing.JComponent.paintChildren(Unknown Source)
>       at javax.swing.JComponent.paint(Unknown Source)
>       at javax.swing.JComponent._paintImmediately(Unknown Source)
>       at javax.swing.JComponent.paintImmediately(Unknown Source)
>       at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
>       at
> javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
> Source)
>       at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>       at java.awt.EventQueue.dispatchEvent(Unknown Source)
>       at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source
> )
>       at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>       at java.awt.EventDispatchThread.run(Unknown Source)

I think this might be an out-of-memory exception in disguise. After I
open the module, start a game, and hit every zoom level, I'm using 410MB
of heap, though that drops to 198MB when I force garbage collection in
my profiler. How much memory are you giving VASSAL when you load this?

-- 
J.

Reply via email to