queryFile = XMARK_HOME + '/' + queryFile;
final XQueryProcessor processor = new XQueryProcessor();
XQueryModule mod = processor.parse(new FileInputStream(queryFile), new File(queryFile).toURI());
Sequence result = processor.execute(mod);
StringWriter res_sw = new StringWriter();
final Serializer ser = new SAXSerializer(new SAXWriter(res_sw), res_sw);
ser.emit(result);
String swresult = sw.toString();
long used = SystemUtils.getHeapUsedMemory();
stdbuf.append(", used(before GC): " + StringUtils.displayBytesSize(used));
if(RUN_ONLY) {
res_sw.close();