Re: cx_Oracle - Django ORM - Reference Count Increase
"Amaury Forgeot d'Arc" <[email protected]> Mon, 29 Dec 2014 18:57:55 +0100
| Newsgroups | gmane.comp.python.db.cx-oracle |
|---|---|
| Message-ID | <CAGmFidbHkaedWvvw7mtCvMqzbJ+DyiE=j9V=QFJyruMP7NpRvw@mail.gmail.com> |
2014-12-27 22:23 GMT+01:00 Anurag Chourasia <[email protected]>: > > 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 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ cx-oracle-users mailing list cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/cx-oracle-users