Memory Leak and Solution for Django and PostgreSQL Application

2021-01-18 Thread Sachin Kumar
Hi Experts, Please help me out with a solution in finding Memory leak from a Django and PostgreSQL App. which is the best way to find Memory leak and what would be the solution? How to built Memory Profiler for a Django Applications? if anyone has ever created a Django Memory Profiler, pls

Re: Is there a solution in Django?

2006-02-12 Thread PythonistL
Jakub, Thanks for your reply. I found out that I can not use ALTER DATABASE `db_name` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci after I create the database. If I do not, then I can use utf-8 coding and it works well.However, I do not know why.:-( Regards, L.

Re: Is there a solution in Django?

2006-02-12 Thread Jakub Labath
Hi, This seems more like a postgres problem more than a django one. It would appear that you have data in different charsets (bad idea). What I would do is just dump the data (convert them to utf8 if needed - see iconv) and then restore everything in a utf8 database. 1. pg_dump -U someuser blah

Is there a solution in Django?

2006-02-09 Thread PythonistL
Hi Because I use non English characters I used: ALTER DATABASE `db_name` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci but now, when I want to insert some values into the database, I get the error: (1267, "Illegal mix of collations (utf8_general_ci,IMPLICIT) and