P
P
Pavel Goltsev2015-01-13 20:11:01
Django
Pavel Goltsev, 2015-01-13 20:11:01

Growing python.exe process memory when debugging. What could be the problem?

Hello! I write code in Intellij IDEA 12 version using Django ORM. Today, since lunch, python somehow began to behave strangely in debug mode. I put a breakpoint, the process stops, but the list of variables is not displayed, there is an inscription Collecting data... and that's it. After a while IDEA freezes. At the same time, the task manager shows that the memory of the python process is constantly growing, and very quickly. As a result, the process drops out after some time, probably due to lack of memory. Until today, I have not observed anything like this, it started out of the blue, I did not update any packages. Tried deleting all *.pyc files in the project, didn't help. Has anyone come across it and can offer some advice? Thanks in advance

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
Lorem Ipsum, 2015-01-13
@nobodynoone

You can see with a profiler what and how.

Y
yttrium, 2015-01-14
@yttrium

most likely a lot of data to display

A
Alexey Yeletsky, 2015-01-14
@Tiendil

With DEBUG=True, Django saves all requests made to the database. Perhaps this has some effect.
See here for more details: https://docs.djangoproject.com/en/1.7/faq/models/#...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question