Budgets are misleading. IIRC, Star Trek The Motion Picture barely broke even despite HUGE box office returns.
While these days the main focus is on a do-or-die, huge opening weekend, TMP was more of a "sleeper" hit. It ran in some cinemas for over six to eight months - and I seem to remember a short piece in "Starlog" whereby Paramount execs expressed surprise that TMP had actually made a profit after all, despite its over-inflated budget and Paramount's creative accounting to write-off its "Phase II" development money.