In addition to the other comments already mentioned, I should
probably point out that in *most* situations it is not really necessary
to be compacting the FE after every time it is opened, especially
being an MDE file. Since the data is in the BE, any bloat that should
naturally be occurring would be on the BE, not the FE. If you
are using a lot of temporary tables in the FE consider moving those
to a temporary database.