Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Adapter for OPC UA

Buffering parameters

  • Last UpdatedJul 21, 2026
  • 3 minute read

Buffering parameters are initialized with default values during installation. AVEVA recommends using the default buffering configuration values. Modify these parameters only when directed by AVEVA Support or when required for a validated deployment scenario. The default values shown in the table are automatically applied when no custom value is specified.

The following parameters are available for configuring buffering:

Parameter

Type

Description

enablePersistentBuffering

boolean

Specifies whether persistent buffering is enabled. When enabled, the adapter stores buffered data on disk before transmission to help retain data during restarts or temporary connectivity interruptions. If disabled, the adapter uses in-memory buffering.

Default: true

Allowed value: true or false

Note: On-disk and in-memory buffering are limited by value in the MaxBufferSizeMB property.

maxBufferSizeMB

integer

Defines the maximum size of the buffer that is persisted on disk 1 or used in memory 2. The unit used is megabyte, where 1 MB equals 1,048,576 bytes. Consider the capacity and the type of storage medium to determine a suitable value for this parameter.

Default: 1024

Minimum value: 1
Maximum value: 2147483647

Note: The MaxBufferSizeMB property is applied to each configured endpoint. For example, if you set the MaxBufferSizeMB to 1024 and you configured the adapter to send data to two endpoints (for example, PI Server and CONNECT data services, the total maximum resources used for buffering will be 2048. The Health endpoint is an exception fixed at 20MB.

maxDataBulkTime

string

Maximum time before batched data in the buffer is sent. The expected format is H:MM:SS

Default: 0:00:01

Minimum value: 0:00:01
Maximum value: 0:10:00

Allowed value: MaxDataBulkTime must have a valid timespan format (for example, hh:mm:ss) and must be between 00:00:01 - 00:10:00.

bufferLocation

string

Defines the location of the buffer files. Absolute paths are required. Consider the access-control list (ACL) when you set this parameter. BufferLocation is used to buffer files when EnablePersistentBuffering is enabled.

Default:

Windows:
%ProgramData%\OSIsoft\<AdapterInstance>\Buffers

Linux:
/usr/share/OSIsoft/Adapters/<AdapterInstance>/Buffers

Allowed value: Valid path to a folder location in the file system

1 Buffering to disk - disk is only used if required;

  • Data is only written to the disk buffer if queued in the memory buffer for more than 5 seconds.

  • The MaxBufferSizeMB is applied per configured endpoint except the Health endpoint.

  • An adapter creates 20MB buffer files that are stored in BufferLocation.

  • When MaxBufferSizeMB is reached, the oldest buffer file is deleted and a new buffer file is created.

  • The Health endpoint is fixed at 20MB. When the Health endpoint buffer file becomes full, a new buffer file is created and the previous buffer file is deleted.

    The following rules apply in case of an error when creating a new buffer file:

    • Attempt to delete oldest buffer file and retry.

    • If unable to buffer, errors are logged to indicate data loss.

    • If a buffer file is corrupted, an attempt is made to recover individual records and any failure to recover records is logged.

2 Buffering only to memory:

  • The MaxBufferSizeMB is applied per configured endpoint except the Health endpoint.

  • When MaxBufferSizeMB is reached, the oldest messages in the memory buffer are removed. Depending on the size of a new message, several old messages may be removed.

  • The Health endpoint is fixed at 20MB. When the Health endpoint buffer file becomes full, the oldest messages in the memory buffer are removed and new messages are added.