Hello guys, I use django ORM in standalone daemon. And It sucks more and more memory. I have created small script for testing: ------------------------------------------------------- import os import sys os.environ['DJANGO_SETTINGS_MODULE'] = 'md.settings' sys.path.append('/md/lib') from django.db import close_connection, reset_queries from md.mddata.models import Info def test(): for i in Info.objects.all(): pass
test() reset_queries() close_connection() ------------------------------------------------------- This script sucks about 400 Mb and doesn't return theirs. Additional info: I use Debian 2.6.26-2-amd64. DEBUG is False in settings.py. What do I do wrong? Could this be due to not properly configure the connection? Setting of db is DATABASE_ENGINE = 'mysql' DATABASE_NAME = 'md' DATABASE_USER = 'md' DATABASE_PASSWORD = 'md' DATABASE_HOST = '' DATABASE_PORT = '' -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.