Excitation of gas bubbles for free oscillations by increasing their energy