If you show "VirtueMart Products" module somewhere and the list of available products is empty then site generation fails. There is probably bug with empty list handling in that module. Same happens when you place "Featured products" somewhere and there is no featured products at the time.
http://forum.virtuemart.net/index.php?topic=79799.0
Ok, now I see. It might be just a problem with my template.