changed settings for buffer and heap size