Maybe this thread could help? http://www.nabble.com/Bulk-Data-Import-how-to-and-tips-td16999646.html
Have a look at this: osm.wiki/index.php/Converting_OSM_to_GML