[geos-devel] Fwd: [PostGIS] #1029: geometric object crashes server
with Out Of Memory
pramsey at opengeo.org
Fri Jun 17 12:55:13 EDT 2011
I'll put it on the geos list for reference. Crashers are no fun.
---------- Forwarded message ----------
From: Martin Davis <mtnclimb at gmail.com>
Date: Fri, Jun 17, 2011 at 9:53 AM
Subject: Fwd: [PostGIS] #1029: geometric object crashes server with
Out Of Memory
To: "Paul Ramsey (pramsey at opengeo.org)" <pramsey at opengeo.org>
I took a look at the JTS code, and it's certainly possible to add a
short-circuit to the Validation code for detecting self-intersections.
That would avoid memory explosion in cases like this, so it would be
nice to do. However, it involves some fairly delicate refactoring, so
it's not a half-hour fix.
It might be worth filing this as a GEOS bug (although for my part the
preferred approach would be to solve this in JTS first, and then port
the changes to GEOS).
More information about the geos-devel