If your bottle is empty it can be as big as you want. If you have anything with liquid in it (or semi liquids like toothpaste) the container must have a capacity of less than 100ml.
There are exceptions for medications and baby food.
Flew through France with a refillable bottle no problem. Where about a is it an issue? Want to make sure my expensive bottle isn’t donated to security.