[postgis-tickets] [PostGIS] #5571: ST_GeneratePoints invalid memory alloc request

PostGIS trac at osgeo.org
Mon Oct 16 08:32:06 PDT 2023


#5571: ST_GeneratePoints invalid memory alloc request
---------------------+---------------------------
 Reporter:  mdavis   |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.4.1
Component:  postgis  |    Version:  3.4.x
 Keywords:           |
---------------------+---------------------------
 This case of a very narrow vertical box:
 {{{
 SELECT  ST_GeneratePoints('POLYGON((36.75 35.230555555555554,36.75
 35.233333333333334,36.75000000000002 35.233333333333334,36.75000000000002
 35.230555555555554,36.75 35.230555555555554))',1);
 }}}
 produces:
 {{{
 ERROR:  invalid memory alloc request size 1433372880
 }}}
 Original report at: https://gis.stackexchange.com/questions/468426/st-
 generatepoint-returns-invalid-memory-alloc-request-size-4305734400
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5571>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list