Cannot remove blank audio

Hello, I am using Windows 10 64bit and Audacity 2.3.3.
I am trying to get a continuous sound of an engine that should look like this in audacity.
https://imgur.com/FO6ZTQC
However, everytime I export the sound to either MP3 or OGG I get some blank space at the end and at the begining of the audio file.
https://imgur.com/zOPoxoJ
Even though I cut or truncate silence the audio file, it will look like in the first image, but after the export the blank spaces will be added.And I have no idea if it’s a limitation of the software or a feature I do not know about it, so I want to know if I can get rid of that blank audio even after exporting.

That is a known problem with the MP3 format. You shouldn’t get that problem with OGG format (I don’t get that problem with OGG format).