Of uncertain origin and meaning. Current theories include a variant of Ansmar and a variant of Osmær. The name was brought to modern-day Germany around 800 AD by English missionaries.
Combination of Os-, from names beginning in this pattern like Oscar and Osvaldo, and -mar, from names beginning in that pattern, e.g. María (Spanish)/Maria (Portuguese).