Breathing mode excitation in near-harmonic systems: resonant mass capture, desorption and atoms in optical lattices