The GBA cart interface has 24 address lines. Also there are 16 data lines. 24 address lines = 2^24 = 16.7 million locations which means 16M x 16bit or 32M x 8bit. Which is a total of 32MBytes or 256Mbits of memory space. To put more memory than this in a cart would require some form of bankswitching.