0
當我在pycharm調試器中運行django時,它變得非常慢,並且在一段時間後它吐出了斷管錯誤。任何想法如何解決這一問題?下面你可以看到從控制檯outpu:pycharm調試器中的Django(pydev)spits破管錯誤
[27/Feb/2012 15:44:24] "GET /media/tools/flexigrid/acme/images/load.gif HTTP/1.1" 200 1737
[27/Feb/2012 15:44:24] "GET /contextual-help/page-help/?url=%2Fmanage%2Fblacklist%2F HTTP/1.1" 200 35
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56649)
----------------------------------------
Traceback (most recent call last):
File "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 284, in run
self.finish_response()
File "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 324, in finish_response
self.write(data)
File "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 403, in write
self.send_headers()
File "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 467, in send_headers
self.send_preamble()
File "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 385, in send_preamble
'Date: %s\r\n' % http_date()
File "/usr/lib/python2.7/socket.py", line 324, in write
self.flush()
File "/usr/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/greg/.virtualenvs/acme/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 570, in __init__
BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
File "/usr/lib/python2.7/SocketServer.py", line 641, in __init__
self.finish()
File "/usr/lib/python2.7/SocketServer.py", line 694, in finish
self.wfile.flush()
File "/usr/lib/python2.7/socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
[27/Feb/2012 15:44:49] "GET /media/tools/flexigrid/acme/images/pager-first.png HTTP/1.1" 200 321
你有足夠的內存嗎?我喜歡PyCharm,但是這個Java野獸非常飢餓。 – 2012-02-27 15:12:50
我有3G和換貨 – wolktm 2012-02-27 15:26:13
在我的Mac(雪豹)3GB,PyCharm有點呆滯 - 我的Wndows 7 PC與4GB運行更順暢得多。 – 2012-02-27 15:49:24