Don't use the unmarshall method that takes an InputStream as it's very slow due to creation of parsers.
Also make sure the streams are closed