no. i don't use any cache, and I 've try to remove the app module which I doubt cost memory. I found that the most memory eater is the app module who has very large models.py
On Wed, Mar 30, 2011 at 8:32 PM, moham...@efazati.org <moham...@efazati.org>wrote: > do you have any cache ing? > > On 03/30/2011 04:33 PM, bird sky wrote: > > Hello Everybody: > I encounter a problem that my Django project, it has more than 60 > app modules, and some models are very large, more than 30 fields . And > when I startup my project, regardless of in development server, fast > cgi(flup),or mod_wsgi. i found it cost at least 60M memory per > instance. I guess this has some relation with that "django will load > all models on startup" . but how can I deal with my problem? Because > if an instance cost 60M memory, when I deploy my project in prefork > web server with 100 instance, i will cost 6GB memory. I don't think > this is a normal state. > > > > -- > 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.