Re: [cx-oracle-users] cx_Oracle - Django ORM - Reference Count Increase
Brought to you by:
atuining
From: Amaury F. d'A. <ama...@gm...> - 2014-12-29 17:58:03
|
2014-12-27 22:23 GMT+01:00 Anurag Chourasia <anu...@gm...>: > > I have a Long Running Python Process that uses Django ORM against Oracle > database. > > The size of the process keeps on increasing steadily. > > I was profiling this process using mem_top and i find that the reference > count of one particular data type <list> increases continuously with > iterations. > > Datatype is <type 'list'> [{u'time': u'0.004', u'sql': u'QUERY = u\'SELECT > "RANGE_STATUS"."I > > References increased from 534 to 53295 > Hi, This list looks very much like this one: https://docs.djangoproject.com/en/1.7/faq/models/#how-can-i-see-the-raw-sql-queries-django-is-running I don't know why there should be many references to it, but it's definitely a Django thing. -- Amaury Forgeot d'Arc |