Memory leak issues

Other Arcadia issues: