http://bugs.winehq.org/show_bug.cgi?id=58479
--- Comment #6 from me_myself_9876@outlook.com --- In reply to Stian Low: The error occurred only with the significantly large real-world collection before the actual import (i.e. >500 albums). I did not count the total number of photos but the problematic File.xml has >30 MB.
While more RAM is certainly helpful, I could succesfully import test photos in a virtual machine with only 2 GB RAM after I installed the native msxml4.dll.