1. A method of reducing dynamic memory usage during decoding of an Efficient XML Interchange (EXI) stream in a sensor, the method comprising: parsing an EXI Profile stream to identify each element within the EXI Profile stream that is not defined by an associated XML schema; examining a first bit after a corresponding SE event for each of the identified elements within the EXI Profile stream; assigning an initial built-in element grammar with no top-level production to each element where the first bit is set to 0 or an augmented built-in element grammar with one top level production of AT(xsi:type) to each element where the first bit is set to 1; and capping in the sensor an amount of dynamic memory used for evolving built-in element grammars associated with each element that include the initial built-in element grammar and the augmented built-in element grammar.