Indexing txt file that has more than 1gb

Hello guys , im facing a problem here indexing txt file that has 8 million lines and 1.5 gb size , logstash only insert 4 million lines !! is it possible to indext txt file in elasticsearch with more than 1.5 gb in size ?

logstash version 7.4.0