limit memory by using only one classifier instance