|
From: Titus B. <ti...@ca...> - 2001-08-03 19:15:08
|
-> (another question which doesn't belong here) -> I would also like to change Zope such that it uses -> generators. The problem we are (or will be) running -> into is the large process size of the ZServers. -> Basically, every time one uses objectValues() the -> entire contents of the directory is loaded into memory -> and values placed into a list. I would like to skip -> zope 2.4.0 based on python 2.1 and go directly to -> 2.2a1 so that I could start this migration. The -> content management system will be pushing Zope to it -> limits. Use of memory has been rather cavalier in -> Zope world cause we think it is cheap and plentiful. -> However, reading 200,000 bulky objects into memory -> (magnified by 1000 users) is not ideal behavior when -> an iterator could be used instead and retrieve only -> one object at a time. A problem that I've been running into wrt Java is the JVM hard memory limit. Since users can (try to) load essentially arbitrary amounts of data into my GUI app, we need to set the maximum heap size of Java at an absurd place for *all* runs. I don't have comparisons yet -- someone has been thinking about rewriting various portions of my Jython app in wxPython -- but it seems to me like Jython and Java together are using outlandish amounts of memory. Something to think about wrt Zope... --t |