Solved memory leak produced while creating hog features. Reduced the size of the infinite loop view from 10 views to 5.