Hi,
Welcome to JavaRanch!
First, a bit of business: you may not have read our
naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. A single name isn't enough. You can change your display name
here. Thanks!
Finally, the number in your example is not 10,000, but 100,000. An object reference (even a null one) is a 32-bit integer in the most common JVM implementation, so the empty array actually takes 4 bytes per element, or 400,000 bytes -- plus a little bit for for object overhead.