It means that your Python instance ran out of memory in the middle of trying
to perform an operation of some sort.

You can either change your code to have a lower memory footprint (i.e.
re-writing it so not as much memory is needed), or you can increase your
address space limit.

You'd need to post full information about your stack and user limits before
we can help you:

1) what webserver are you using (nginx / apache etc)
2) what application server are you using (uwsgi / fcgi etc)
3) what os are you running?
4) what is your ulimit?

Cal

On Sat, Jul 9, 2011 at 1:27 PM, pankaj <kamalp.sha...@gmail.com> wrote:

> Hi,
>
>  I am frequently getting this error, but could not identify the root
> cause of this issue.
>
> Traceback (most recent call last):
>
>  File "/ot/w/u/django-s/django/core/handlers/base.py", line 100, in
> get_response
>    response = callback(request, *callback_args, **callback_kwargs)
>
>  File "/ot/w/u/ui/webs/web/views.py", line 1275, in do_query
>    'scoped_fields_value' : scoped_fields_value,
>
>  File "/ot/w/u/django-s/django/shortcuts/__init__.py", line 20, in
> render_to_response
>    return HttpResponse(loader.render_to_string(*args, **kwargs),
> **httpresponse_kwargs)
>
>  File "/ot/w/u/django-s/django/template/loader.py", line 186, in
> render_to_string
>    return t.render(context_instance)
>
>  File "/ot/w/u/django-s/django/template/__init__.py", line 173, in
> render
>    return self._render(context)
>
>  File "/ot/w/u/django-s/django/template/__init__.py", line 167, in
> _render
>    return self.nodelist.render(context)
>
>  File "/ot/w/u/django-s/django/template/__init__.py", line 796, in
> render
>    bits.append(self.render_node(node, context))
>
>  File "/ot/w/u/django-s/django/template/__init__.py", line 809, in
> render_node
>    return node.render(context)
>
>  File "/ot/w/u/django-s/django/template/loader_tags.py", line 125, in
> render
>    return compiled_parent._render(context)
>
>  File "/ot/w/u/django-s/django/template/__init__.py", line 167, in
> _render
>    return self.nodelist.render(context)
>
>  File "/ot/w/u/django-s/django/template/__init__.py", line 796, in
> render
>    bits.append(self.render_node(node, context))
>
>  File "/ot/w/u/django-s/django/template/__init__.py", line 809, in
> render_node
>    return node.render(context)
>
>  File "/ot/w/u/django-s/django/template/loader_tags.py", line 62, in
> render
>    result = block.nodelist.render(context)
>
>  File "/ot/w/u/django-s/django/template/__init__.py", line 799, in
> render
>    return mark_safe(''.join([force_unicode(b) for b in bits]))
>
> MemoryError
>
> Any help will be highly appreciate?
>
> Thanks,
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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.

Reply via email to