An interjection expressing resignation or mild disappointment. Almost just a verbalised sigh meaning "too bad"; "pity", or "so that's it". In short, for situations it is a softer form of "too bad"
The phrase is a variation of "Oh well":
-Oh well, it'll come back to me in a few minutes.
But...