Referring to this answer I tried increasing the buffer size using commands
set-option -g history-limit 10000
set -g history-limit 10000
but it does not work for me. I want to increase the buffer size of all the windows or at least the current window in tmux. I am opening the tmux session in Putty.
Note: I was trying to use the mouse scroll. I am able to scroll up using "prefix [" but not using the mouse