Database Error Messages

OCI-54466

Failed to allocate MGA segment of size size for ONNX operation.
  • size: Size of the buffer attempted to be allocated

Cause

The Open Neural Network Exchange (ONNX) runtime is attempting to allocate a contiguous range of memory via MGA, which is too large.


Action

You may have to modify the ONNX model to require a smaller range of contiguous memory. For example, you may want to quantize the ONNX model. You can also try to increase pga_aggregate_target.