Maximum Local Storage Size Calculation


I have an Ignition Gateway pushing data to a Historian Database in a Remote Location. How can I calculate the maximum amount of data the disk can hold in the Gateway by Store and Forward function? What should I set up on the Store and Forward to take advantage of a maximum local size?