in reply to how to write a huge XML file without encountering memory limits

What a few of the other posts are essentially saying is that you need a technique that doesn't build the whole thing into a memory structure prior to printing.

So if your source is an OS file or a database, you need to write out the info to your XML file as soon as possible, i.e. read a row of organism info from a db, write a few rows to your XML file.

  • Comment on Re: how to write a huge XML file without encountering memory limits