Size of flash memory for microcontrollers

I’m wondering which microcontroller has the most flash memory. I saw a maximum of 2 megabytes of flash memory.

If you are just looking at Arduino: https://www.arduino.cc/en/Products/Compare
There are probably similar pages for other options.