The Nintendo DSi supports a maximum of 1,000 DSiWare titles.
Most DSiWare titles are 1–10MB. The 140MB limit fills up (~20–50 games) long before hitting 1,000.
Summary: Theoretical limit 1,000; practical limit ~30–50 on stock hardware. Use 3DS family for larger library.