Using ST_FrechetDistance(geom1, geom2) from Postgis will cause my Postgres server to lose connection if the number of points in the geometries is in the thousands(+6k). Is it possible to increase this limitation or bypass it somehow? It works perfectly fine with smaller geometries.