I have a standard Arduino Mega, purchased a few months ago, and I was just curious about the space that should be available on this device. From the Arduino Mega page:
Flash Memory 128 KB of which 4 KB used by bootloader SRAM 8 KB
However, my device, when I compile it, gives me the following:
Binary sketch size: 23,794 bytes (of a 258,048 byte maximum, 9.22%). Estimated memory use: 1,790 bytes (of a 8,196 byte maximum, 21.84%).
The SRAM space is on par (with 4 extra bytes for some reason), but the Flash space is 4 bytes short of 256kb (the 4 bytes makes sense, being used for the bootloader). Is there a reason my device has double the available Flash? Was this a later revision of the Mega2560?