moved ->WriteRDFBufferToWriteFile();

another problem with memory limits. Moved the 	$this->WriteRDFBufferToWriteFile(); to execute after each XML record entry.