Re: Memory Usage/Optimization Question

2008-04-06 Thread Graham Dumpleton
On Apr 6, 2:30 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > Also, if you haven't already, I'd definitely recommend switching to > mod_wsgi. I'm in the same boat as you - django apps on webfaction, > running up against memory limits (to the point where I was getting my > sites shut

Re: Memory Usage/Optimization Question

2008-04-05 Thread Eric Abrahamsen
Also, if you haven't already, I'd definitely recommend switching to mod_wsgi. I'm in the same boat as you – django apps on webfaction, running up against memory limits (to the point where I was getting my sites shut down); I started using mod_wsgi recently and haven't had any trouble

Re: Memory Usage/Optimization Question

2008-04-05 Thread Fredrik Lundh
Garrett Garcia wrote: > I recently got my first django project set up on webfaction and am > feeling the constraint of their memory usage limits. > For example: > > I have a view that returns a list of objects: > > def get_meet_results(request, meet_id): > meet =

Memory Usage/Optimization Question

2008-04-05 Thread Garrett Garcia
I recently got my first django project set up on webfaction and am feeling the constraint of their memory usage limits. For example: I have a view that returns a list of objects: def get_meet_results(request, meet_id): meet = Meet.objects.get(pk=meet_id) year = meet.start.year