memory leaks - geometry::UnionAggregate call causes SQL Server to crash -


i found seems bug in microsoft sql server (v13.0.1601). perhaps mistaken haven't seen reported anywhere else online describe below.

one section of our code uses spatial indexing. have table called 'spritepositions' contains polygons , 'sprite' table, each entry of links number of spritepositions. each sprite has polygon populated using geometry::unionaggregate call, combining each of polygons of appropriate spritepositions.

rarely, sprite may contain large number of spritepositions , unionaggregate call takes little while complete. interestingly, time not linearly proportionate number of spriteposition polygons.

some experiments indicate performing unionaggregate takes around 4 seconds 500 polygons, around 20 seconds 1000 polygons. 10000 polygons sql server this:

memory leak in sql server

looks memory leak in sqlserver. never returns - ram usage keeps growing forever , cpu usage sits @ 1 full core. no further sql calls return , solution kill sql server process.

so question - has else encountered this? there i'm missing?


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -