make mem_factor configurable in codes-mapping component
The codes-mapping component uses the mem_factor variable to control how much memory is allocated for events on each LP. This may have to be increased or lowered in some cases depending on how the simulation is executed.