set Data maxSize from configuration