The maximum size of each buffer file may be adjusted by the MAXFILESIZE parameter. To estimate the value for this parameter, estimate the number of events generated by the interface. For example, a typical process can generate 1500 exception events/day. A typical event uses 23 bytes in the file buffer (a float32 point). The number of kilobytes per day would be
(# tags collected) x (1500 events/day) x (23/1024 KB) = # KB/day
On Windows and on UNIX versions of PI API prior to 1.6.4, the maximum space used for buffered data is limited to MAXFILESIZE. On UNIX versions of PI API 1.6.4 or later, the maximum space used for buffered data is MAXFILESIZE multiplied by MAXFILECOUNT. To avoid potential problems, OSIsoft recommends setting these configuration parameters to ensure that the maximum space used for buffered data does not exceed available disk space. For default values of these parameters, refer to "Configuring Buffering using bufserv".