The history files get corrupted after reaching 2GB