I was able to create XML CLOBs in my local database without any such issues on large documents(50K records) using SQL/XML functions. Suddenly this issue is occurring today in my local m/c. It may go fine in other environments. I will give it a try and let you know. Thanks for your guidance and support.