Is Robo and Ram Rod stated, the are on the point and great advice.
Especially with the compacts they are a weapon of their own. The compacts are also more susceptible to limp wristing. If they do not have a good positive firm grip to work against and especially when they are brand new! And if you are using lighter loads. One other thing I would add, is if it has any of that Gold Looking material on the bottom of the slide clean it off and then as the others have said lube the slide area well. Just out of curiosity what brand and grain of ammunition are you using?
Point made "Break it In! Also if it happens mark that magazine with a piece of chalk to determine if it could be a mag problem?
Individuals with guns are citizens! Individuals without guns are subjects. *John Adams
The Constitution is not an instrument for the Government to restrain the people. It is an instrument for the people to restrain the Government!