This is a modified version of the Milstein lab "Fast Temporal Median" plugin by Marcelo Augusto Coreiro, as published here: http://www.utm.utoronto.ca/milsteinlab/software/
It includes an "Histogram compression factor" option that re-bin the histogram used to calculate the median pixel values, allowing to use less memory.