add build.xml
quick fix - improve memory handling