determined by observing the write line addresses in the write stream an embodiment of the awl described herein is implemented by having the oad 102 monitoring the write stream and adjusting the rcp as shown in fig1 the oad 102 analyzes the memory reference stream to detect attack like streams based on this information the oad 102 increases the frequency of remapping when attack like streams are detected thus providing more robustness and security in an embodiment this information is also used to transmit an alert to an os or system administrator when one or more properties of the memory reference stream reach a programmable threshold there are a variety of practical considerations that may be weighed when setting up an awl implementation in one embodiment the awl is based on a start gap approach to write leveling in a start gap scheme an extra line a gap line is included in the memory and after every x number of writes rcp 1 x one line is moved to its neighboring location in a randomized address space in this scheme after one complete rotation of the gap line all lines in memory have moved by exactly one position for a memory bank with n lines the line vulnerability factor lvf n u00b7 x as used herein the term lvf refers to the maximum number of writes to a line.