Maximum buffer size

Hi,

Why the maximum IIO buffer size is 2097152 (2^21) in the IIO Network Backend (py-adi) and IIO-Oscilloscope, and 4194304 (2^22) in IIO Local Backend?

The iio_create_buffer function replies with an "Unable to create buffer: File too large" or similar.

How can I increase this limit?

D