diff -r d834ef768f04 django/core/management/commands/dumpdata.py
--- a/django/core/management/commands/dumpdata.py	Sun Jan 15 16:06:56 2012 +0000
+++ b/django/core/management/commands/dumpdata.py	Tue Jan 24 23:37:32 2012 +0000
@@ -4,6 +4,7 @@
 from django.db import router, DEFAULT_DB_ALIAS
 from django.utils.datastructures import SortedDict
 
+import sys
 from optparse import make_option
 
 class Command(BaseCommand):
@@ -97,20 +98,23 @@
         except KeyError:
             raise CommandError("Unknown serialization format: %s" % format)
 
-        # Now collate the objects to be serialized.
-        objects = []
-        for model in sort_dependencies(app_list.items()):
-            if model in excluded_models:
-                continue
-            if not model._meta.proxy and router.allow_syncdb(using, model):
-                if use_base_manager:
-                    objects.extend(model._base_manager.using(using).all())
-                else:
-                    objects.extend(model._default_manager.using(using).all())
+        def get_objects():
+            # Collate the objects to be serialized.
+            for model in sort_dependencies(app_list.items()):
+                if model in excluded_models:
+                    continue
+                if not model._meta.proxy and router.allow_syncdb(using, model):
+                    if use_base_manager:
+                        objects = model._base_manager
+                    else:
+                        objects = model._default_manager
+                    for obj in objects.using(using).\
+                            order_by(model._meta.pk.name).iterator():
+                        yield obj
 
         try:
-            return serializers.serialize(format, objects, indent=indent,
-                        use_natural_keys=use_natural_keys)
+            serializers.serialize(format, get_objects(), indent=indent,
+                    use_natural_keys=use_natural_keys, stream=sys.stdout)
         except Exception, e:
             if show_traceback:
                 raise
diff -r d834ef768f04 django/core/serializers/base.py
--- a/django/core/serializers/base.py	Sun Jan 15 16:06:56 2012 +0000
+++ b/django/core/serializers/base.py	Tue Jan 24 23:37:32 2012 +0000
@@ -39,6 +39,7 @@
         self.use_natural_keys = options.pop("use_natural_keys", False)
 
         self.start_serialization()
+        self.first = True
         for obj in queryset:
             self.start_object(obj)
             for field in obj._meta.local_fields:
@@ -54,6 +55,8 @@
                     if self.selected_fields is None or field.attname in self.selected_fields:
                         self.handle_m2m_field(obj, field)
             self.end_object(obj)
+            if self.first:
+                self.first = False
         self.end_serialization()
         return self.getvalue()
 
diff -r d834ef768f04 django/core/serializers/json.py
--- a/django/core/serializers/json.py	Sun Jan 15 16:06:56 2012 +0000
+++ b/django/core/serializers/json.py	Tue Jan 24 23:37:32 2012 +0000
@@ -17,13 +17,38 @@
     """
     internal_use_only = False
 
-    def end_serialization(self):
+    def start_serialization(self):
         if simplejson.__version__.split('.') >= ['2', '1', '3']:
             # Use JS strings to represent Python Decimal instances (ticket #16850)
             self.options.update({'use_decimal': False})
-        simplejson.dump(self.objects, self.stream, cls=DjangoJSONEncoder, **self.options)
+        self._current = None
+        self.json_kwargs = self.options.copy()
+        self.json_kwargs.pop('stream', None)
+        self.json_kwargs.pop('fields', None)
+        self.stream.write("[")
+
+    def end_serialization(self):
+        if self.options.get("indent"):
+            self.stream.write("\n")
+        self.stream.write("]")
+        if self.options.get("indent"):
+            self.stream.write("\n")
+
+    def end_object(self, obj):
+        # self._current has the field data
+        indent = self.options.get("indent")
+        if not self.first:
+            self.stream.write(",")
+            if not indent:
+                self.stream.write(" ")
+        if indent:
+            self.stream.write("\n")
+        simplejson.dump(self.get_dump_object(obj), self.stream,
+                        cls=DjangoJSONEncoder, **self.json_kwargs)
+        self._current = None
 
     def getvalue(self):
+        # overwrite PythonSerializer.getvalue() with base Serializer.getvalue()
         if callable(getattr(self.stream, 'getvalue', None)):
             return self.stream.getvalue()
 
diff -r d834ef768f04 django/core/serializers/python.py
--- a/django/core/serializers/python.py	Sun Jan 15 16:06:56 2012 +0000
+++ b/django/core/serializers/python.py	Tue Jan 24 23:37:32 2012 +0000
@@ -27,13 +27,16 @@
         self._current = {}
 
     def end_object(self, obj):
-        self.objects.append({
-            "model"  : smart_unicode(obj._meta),
-            "pk"     : smart_unicode(obj._get_pk_val(), strings_only=True),
-            "fields" : self._current
-        })
+        self.objects.append(self.get_dump_object(obj))
         self._current = None
 
+    def get_dump_object(self, obj):
+        return {
+            "pk": smart_unicode(obj._get_pk_val(), strings_only=True),
+            "model": smart_unicode(obj._meta),
+            "fields": self._current
+        }
+
     def handle_field(self, obj, field):
         value = field._get_val_from_obj(obj)
         # Protected types (i.e., primitives like None, numbers, dates,
