Tools -> Align to reference -> Build Index
Memory leak after building index finished or cancelled by user.