Is there a maximum number of subkeys in GnuPG?

The GnuPG documentation describes a process for generating subkeys for a gpg-master-key with the ability to set different validity parameters for the subkeys. It works perfectly for a small number of subkeys, but I wonder if there is a limit of subkeys that can be created for a gpg-master-key?