On Thu, Jan 13, 2005 at 08:14:31PM +0100, Frank S. Thomas wrote: > I could successfully convert sid's binary-i386/source package files into XML. > However, because dctrl2xml builds up a dom tree of all packages in these > files, this is horribly slow. There may also be some cases where dctrl2xml > will fail.
So don't do that. Process it like a stream. I'm helping a church rewrite some code which generates a PDF church directory. It's failing because they run mysql_query which joins the families + members table and it uses more memory than the host allows. I know this is just two data points, but I wonder why a PHP guy and now a Python guy overlooks this. Fortunately, when I was "stupid", I was using Visual Basic/DAO Recordsets which implemented a cursor size. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]