id summary reporter owner description type status priority milestone component version severity resolution keywords cc 294 reserving to much memory inPolygon::GetCoordinates jaapdekker strk "A length error exception is thrown when Polygon.GetCoordinates() is called with a polygon(sea area around Scotland) with 1396535 coordinates where the shell has size 411057 and that contains 7998 holes (Islands in the sea) the error is caused in Polygon.cpp where a reserve is done with the wrong size the error is on line 123 in Polygon.cpp npts=shellCoords->getSize(); /* * reserve space in the vector as if all holes have the same * amount of points. Holes usually have less, so this should * be a good compromise */ cl->reserve((nholes+1)*npts); causing 3,287,633,886 Coordinates to be allocated " defect closed major Default 3.0.3 Unassigned fixed