Emitter stops emitting

I’m in my games class right now trying to make a spaceship fly around the game shooting projectiles, I have this working fine, the problem is that after about half a minute of shooting, my spaceship suddenly stops shooting as if I’ve run out of ammo. I’m using an emitter - that emits a bullet object - tied to the mouse click. If anybody can tell me why the emitter stops emitting or how I can fix this, please help.

I’ve fixed this myself by instead of setting the bullets to never expire, setting them to expire.