Error 272 after executing the DspRichText()

Hi all,

The Cicode DspRichText() is returning error number 272 (Out of memory). 
My PC has the required memory, I have cleared all the temporary files. Still, the error persists.

Any thoughts on how to resolve this issue?

Thanks

Nayana