A security camera includes a camera head and a cable assembly with an integrated processing module. One of the reflectors is a programmable micromirror array that acts as a tunable blazed diffraction grating providing continuous tuning of a single resonant mode over a wavelength gain region of the gain medium. The paging out step may comprise the steps of determining an amount of time a page is or will be in memory for each of the plurality of pages of data in the main memory and determining a memory pressure for each of the plurality of pages of data in the main memory.