Self compiled image too big

The A5-V11 has only 4MB flash. Where do the 8MB come from?