JVM crashes are pretty rare; normally I curse for a while and
reinstall java / jai / imageio etc. In this case the DLL is the C
runtime; and has a history of getting messed up at the windows
registry level.

Still it sounds like java now passes some work over to direct draw;
and thus we must be getting near the edge of floating point or double
accuracy in order to make the drawing routines unstable :-)

A couple things to do:
- do your scaling on the geometry; before making a shape
- test that the geometry is valid; before making a shape
- change how you do a deep zoom; rather than depend on the differences
between floating point values; scale your geometry up and then do not
zoom in as far
- experiment with the java command line option to turn off direct draw
acceleration (http://java.sun.com/j2se/1.5.0/docs/guide/2d/flags.html)
and see if the problem goes away

Jody



On Wed, Apr 8, 2009 at 11:38 PM, Carsten Ehbrecht
<[email protected]> wrote:
> Hi,
>
> i have the following problem with the streaming renderer in gt-2.5.3:
>
> * Starting the StreamWidgetsDemo
> * just loading a single line geometry (shapefile)
> * i zoom into this line over and over again
> * when i'm too deep the rendering takes long and then the jvm crashes with a 
> stack overflow exception :(
>
> Do you know this problem already?
>
> I have attached the crash report
>
> Cheers,
> Carsten
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to