History file cuts off at 32767 records

 
I downloaded 1m history file from alpari. When I try download it into a history window it works fine showing that some 697000 records were created. But after I reopen the terminal, history file is cutoof to 32762 records. is there a way to download more records into history.
 
I think I found the answer in options/charts box. Need to increase history and chart numbers.
Reason: