The limitation is based on the memory used.BGP table limitation depends on the memory size on your router.
Memory utilization depends on the following
(a) number of prefixes
(b) number of alternate path
(c) number of neighbors receiving full table update.