[postgis-devel] simplify()

Kevin Neufeld kneufeld at refractions.net
Mon Nov 22 10:07:07 PST 2004

Sandro, am I reading this right? simplify() is trying to allocate only 
5.4 MB of space? It does seem strange that it's trying to allocate less 
than the entire size of this geometry (9MB), but this particular 
geometry only has 42000 vertices. Is simplify() trying to allocate a 
special portion of memory?

strk at refractions.net wrote:

>On Mon, Nov 22, 2004 at 09:23:01AM -0800, Kevin Neufeld wrote:
>(html body dropped)
>Kevin, it seems like you're really out of memory.
>   cwb_prod_11_10=# select mem_size(the_geom) from valid_group_codes
>   where group_code = 'LARL';
>    mem_size
>   ----------
>     8956628
>The simplify function was allocating even less space then the input...
>I don't think it's a bug.
>postgis-devel mailing list
>postgis-devel at postgis.refractions.net

Kevin Neufeld,
Refractions Research Inc.,
kneufeld at refractions.net
Phone: (250) 383-3022 
Fax:   (250) 383-2140 

More information about the postgis-devel mailing list