﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12374	QuerySet .iterator() loads everything into memory anyway	Nick Welch <mackstann@…>	nobody	"Iterating through the result of .iterator() still causes a huge spike in memory consumption.  In contrast, loading only one record with [:1] does not.

Others have run into this problem:

http://stackoverflow.com/questions/1443279/django-iterate-over-a-query-set-without-cache

Notice his follow-up comment to the suggestion of using .iterator():

""Its still chewing through a ton of RAM when I use your call. :(""

This has been my experience as well."		closed	Database layer (models, ORM)	1.1		worksforme	orm, cache, iterator		Unreviewed	0	0	0	0	0	0
