SONAR-5868 Try to reduce memory consumption of line hashes