Oracle Error Message
OCI-30154: The memory address given as buffer for OCIFileRead/Write is invalid
Reason for the Error
An invalid memory address is given as the buffer pointer for OCIFileRead/Write.
Solution
Make sure that the required memory is allocated and pass a valid memory address as buffer pointer.