Oracle Error Message
ORA-24281: invalid access past the maximum size of LOB parameter string
Reason for the Error
The value of positional or size parameters exceeds the maximum allowed LOB size of 4 Gigabytes.
Solution
Correct the input values for amount and offset such that their sum is less than or equal to 4 Gigabytes. If error occurs in a read or write loop, check the looping conditions and/or offset increments.