josepharmbruster0lat

ConstructUnion runs out of memory

Discussion created by josepharmbruster0lat on Jun 12, 2013
Latest reply on Jun 13, 2013 by josepharmbruster0lat
I create a geometry bag and added 40k or so polygon features into it using the geometry collection interface.  All-together, adding geometries brings my memory stamp up to roughly 520MB or so.  After this, I create an empty polygon and use the topological operator to ConstructUnion against this geometry bag.  This operation spins for 20 seconds or so, then the memory stamp increases without bound, crashing my process.

I originally modified my code to use ConstructUnion instead of multiple Unions, since I saw a noticable performance increase.  Unfortunately, it looks like construct union has some type of sporaddic memory leak.

Questions and comments welcome!

Outcomes