This article explains on how the hardware limit is calculated in EX4300 for IPv4 and IPv6 LPM routes.
On EX4300 the Hardware LPM table size supports up to 8K indexes/entries.This is the hardware limitation beyond which it cannot scale. Hence any excess LPM route (either individually by one of these route categories or collectively by these LPM route categories) will result in LPM Table full scenario. This LPM memory table is specific for handling all categories of LPM routes in the hardware. For Host Routes ( /32 and /128) and Mcast Routes a different memory table is used.