Andrea Antonello ha scritto: > Alright, I finally build the 2.3.x branch and tried to visualize the > famous geotiff. After a very long while it goes out of heap space: > > Jan 23, 2007 6:57:56 PM org.geotools.renderer.lite.StreamingRenderer paint > SEVERE: Java heap space > java.lang.OutOfMemoryError: Java heap space > at javax.media.jai.RasterAccessor.<init>(RasterAccessor.java:791) > at > com.sun.media.jai.opimage.FilteredSubsampleOpImage.computeRect(FilteredSubsampleOpImage.java:696) > at > javax.media.jai.GeometricOpImage.computeTile(GeometricOpImage.java:683) > at > com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:914) > at javax.media.jai.OpImage.getTile(OpImage.java:1138) > at javax.media.jai.RenderedOp.getTile(RenderedOp.java:2257) > at > com.sun.media.jai.iterator.RectIterCSM.setDataBuffer(RectIterCSM.java:70) > at > com.sun.media.jai.iterator.RectIterFallback.<init>(RectIterFallback.java:147) > at com.sun.media.jai.iterator.RectIterCSM.<init>(RectIterCSM.java:36) > at > com.sun.media.jai.iterator.RectIterCSMByte.<init>(RectIterCSMByte.java:25) > at > javax.media.jai.iterator.RectIterFactory.create(RectIterFactory.java:72) > at org.geotools.coverage.grid > ... > > > I assigned 512 megs to the virtual machine, so it really shouldn't go > out of heap for a map of 1.7 megs (compressed, but however...).
Crazy, what's the code you used to display that raster? Cheers Andrea ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
