there certainly is an upper limit. But I think the zigbee network will be brought to it's knees from excess traffic before the X4 runs out of memory from too much nodes. I think the network is going to be the limiting factor.
the size of a network depends on a lot of things. Here are just a few: number of nodes, how much data they send and how frequently, enviornmental factors.