django 1.3, uwsgi, python 2.7
I've got a view which is admitedly doing a number of large queries and inefficient stuffs. It is so bad that when the url is requested corresponding to that view, memory consumption jumps by like 200-300MBs.
I decided to try using pympler to try and pinpoint what was consuming so much memory. However inspecting various elements I can't figure out how ram consumption is jumping by 200-300MBs.
as the bulk of the stuff is happening in get_context_data function I've mainly been trying in here. but the largest object is like 11MBs. and even at the end when i run asizeof on the context variable it's only like 12-15MBs.
How do I determine why calling that view causes RAM usage to jump 200-300MBs?