Large object assign or copy failed. (11395) Copying a 500MB+ MEMPTR data to LONGCHAR variable
COPY-LOB from a MEMPTR to a LONGCHAR fails to allocate memory when copying data larger than 500MB and generates the ambiguous error: Large object assign or copy failed. (11395).