Static Patterns would remain in memory as long as the class is loaded.
If you are worried about memory and want a throw-away Pattern that you use once in a while and that can get garbage collected when you are finished with it, then you can use a non-static Pattern.