Help Please!!! Cherrypy Memory Error

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Apr 2009
Posts: 1
Reputation: yj2009 is an unknown quantity at this point 
Solved Threads: 0
yj2009 yj2009 is offline Offline
Newbie Poster

Help Please!!! Cherrypy Memory Error

 
0
  #1
Apr 1st, 2009
Got this memory error frequently in CherryPy so some of our users could not access many pages.

2009/04/01 21:18:14 INFO Traceback (most recent call last):
File "D:\Python24\lib\site-packages\cherrypy\_cphttptools.py", line 274, in run
finalize()
File "D:\Python24\lib\site-packages\cherrypy\_cphttptools.py", line 576, in finalize
content = ''.join([chunk for chunk in response.body])
MemoryError

Anyone could recommend some ways to debug this? Is there any module we can use to monitor memory usage for CherryPy?

Thanks so much in advance!
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 181
Reputation: adam1122 is an unknown quantity at this point 
Solved Threads: 28
adam1122 adam1122 is offline Offline
Junior Poster

Re: Help Please!!! Cherrypy Memory Error

 
0
  #2
Apr 1st, 2009
Perhaps the page data is too large to be handled. Can you compare the page size of the pages this is happening on to other page sizes?

I don't use Cherrypy, so I'm probably not much help.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Python Forum


Views: 284 | Replies: 1
Thread Tools Search this Thread



Tag cloud for Python
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC