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!

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.