added  ->WriteRDFBufferToWriteFile(); to package and product functions to avoid out of memmory error.