Hello (again). I have read all the posts (here in community and in stackoverflow) about memory Django's consumption. I just want to ask one thing: Every time I hit refresh in my Django Admin page I get +1MB of RSS memory. Is this OK and healthy? Here is my first
Now if I hit F5 in the admin page all the processes stay the same except #7734 which increases by +1MB:
P.S.: My EDIT: Today I am going to do a little memory debugging with some tools I have read about and post here the results and (maybe?) the solution! Hope everything will work... asked 17 May '16, 12:18 nik |
If your httpd memory usage is going up every time you reload your admin page, then there is probably a memory leak in one of your Django project's apps. Debugging with Pympler will help you identify it. You can also use the Hope that helps! answered 18 May '16, 00:39 seanf |
OK. Problem #1: Pympler runs on top of django-debug-toolbar which must have Problem #2: After running Pympler locally, the Memory panel was not very helpful! On the right hand side it gives me the Megabytes that was reserved extra (i.e 80MB +8MB) and when I click on it, it gives me a summary like the below:
What useful info can I extract from this summary? Apart from the fact that the total size of the above sizes does not much the size that in shown in parenthesis on the right hand side. I really want to use the answered 18 May '16, 11:21 nik |
Unfortunately, I was not able to figure out a solution to my problem, using After I had set my app to run locally with I think I will stay with this memory consumption and use If I have any other news, I will post right here. Best regards to everyone answered 18 May '16, 15:02 nik |