By default a clip is the last 2 minutes. You can pick anything from 15 seconds to 20 minutes in Settings, then Recording.
Alt + Shift + C saves just the last 15 seconds, for when you only need the moment itself.
The replay is kept on your drive and old parts are thrown away as new ones come in, so a longer buffer uses more space but no extra memory.