lowered limit of messages to 100000 due to memory limitations