﻿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
29989	Geodjango running through memory	Taylor	nobody	"I have been trying to upload a raser to my postgis backend and keep running into
  {{{#!python
django.db.utils.OperationalError: cannot allocate memory for output buffer
  }}}
I try to upload the file in the django shell using the following:

  {{{#!python
raster = GDALRaster('rasters/data/my_image.tif', write=True) 
r = RastModel(name=""Foo"", image=raster)
r.save()
  }}}
The image is only about a gb and I have plenty of ram to handle it. When I save the raster it runs through almost all 32gb of ram and then throws the error. From all the docs and posts I have seen it appears that I am uploading the raster correctly so I am assuming there is a bug somewhere. "	Bug	new	GIS	2.1	Normal		raster, geodjango, postgis		Unreviewed	0	0	0	0	0	0
