updated buffer size using configured value in getStringContent()