2. What does dump="yes" mean in a list declaration?
It means that the content of that list will be written in an XML document named after the list. For example, if the list is named my_list, it will be dumped into a document named my_list.xml.
ToXgene memory requirements are dictated by the size of the tox-lists that you create in your template. Memory requirements can be very high for complex lists of reasonable size, such as the one used for generating orders in the TPC-H sample.
ToXgene implements a very simple garbage collection mechanism: ToXgene keeps track of all references to lists made by other lists or document declarations by a counter. Lists that are not used by other lists or documents are not generated. Also, when a document (or list) that refers to list X is finished, X's reference counter is decremented; the memory used by X is released as soon as no more references to X exist in the template.
The Java Run-time Environment takes one parameter that specifies the minimum amount of memory that any application should be allowed to use. You can set this value by modifying the MIN_HEAP variable in the scripts that invoke ToXgene, located in the $(TOXGENE_HOME)/bin directory.