This repository was archived by the owner on Mar 12, 2024. It is now read-only.
This repository was archived by the owner on Mar 12, 2024. It is now read-only.
Memory leak in fsautocomplete #94
Open
Description
I'm consistently getting a memory leak. If I try to autocomplete my memory keeps rising and I believe the fsautocomplete is the culprit. Is there anything I can do about this? If not is there is a way I can disable the fsautocomplete, as the auto completion is not necessary for me.
Also please let me know if I can provide any more info, thank you.
My vim version is the following
:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jun 8 2017 20:51:28)
Included patches: 1-628
Compiled by Arch Linux
Huge version with GTK3 GUI. Features included (+) or not (-):
+acl +cscope -footer +menu +num64 +startuptime +virtualedit
+arabic +cursorbind +fork() +mksession +packages +statusline +visual
+autocmd +cursorshape +gettext +modify_fname +path_extra -sun_workshop +visualextra
+balloon_eval +dialog_con_gui -hangul_input +mouse +perl/dyn +syntax +viminfo
+browse +diff +iconv +mouseshape +persistent_undo +tag_binary +vreplace
++builtin_terms +digraphs +insert_expand +mouse_dec +postscript +tag_old_static +wildignore
+byte_offset +dnd +job +mouse_gpm +printer -tag_any_white +wildmenu
+channel -ebcdic +jumplist -mouse_jsbterm +profile +tcl/dyn +windows
+cindent +emacs_tags +keymap +mouse_netterm +python/dyn +termguicolors +writebackup
+clientserver +eval +lambda +mouse_sgr +python3/dyn +terminfo +X11
+clipboard +ex_extra +langmap -mouse_sysmouse +quickfix +termresponse -xfontset
+cmdline_compl +extra_search +libcall +mouse_urxvt +reltime +textobjects +xim
+cmdline_hist +farsi +linebreak +mouse_xterm +rightleft +timers -xpm
+cmdline_info +file_in_path +lispindent +multi_byte +ruby/dyn +title +xsmp_interact
+comments +find_in_path +listcmds +multi_lang +scrollbind +toolbar +xterm_clipboard
+conceal +float +localmap -mzscheme +signs +user_commands -xterm_save
+cryptv +folding +lua/dyn +netbeans_intg +smartindent +vertsplit
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "/etc/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
-I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-
2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/
include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/i
nclude/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/in
clude/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpat
h,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-3
-lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lS
M -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lelf -lnsl -lacl -lattr -lgpm -ldl -Wl,-E -Wl,-rpath,/usr/lib/perl5
/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-strong -L/usr/local/lib -L/usr/lib/perl5/core_pe
rl/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lieee -lm
my vimrc is the following
let g:python_host_prog = '/usr/bin/python2'
let g:python3_host_prog = '/usr/bin/python3'
call plug#begin('/$HOME/.vim/plugged')
Plug 'flazz/vim-colorschemes'
Plug 'itchyny/lightline.vim'
Plug 'christoomey/vim-tmux-navigator'
Plug 'scrooloose/syntastic'
Plug 'fsharp/vim-fsharp', {
\ 'for': 'fsharp',
\ 'do': 'make fsautocomplete',
\}
call plug#end()
" My custom settings
set autoindent
set autoread
set backspace=2
set expandtab
set foldlevel=5
set foldmethod=indent
set foldnestmax=10
set hidden
set history=500
" set hlsearch
set incsearch
set laststatus=2
set lazyredraw
set magic
set nocompatible
set nofoldenable
set noshowmode
set path+=**
set relativenumber
set shiftwidth=4
set showcmd
set smartcase
set smartindent
set smarttab
set so=7
set softtabstop=4
set tabstop=4
set timeoutlen=50
set wildmenu
syntax on
" Use backup, undo, and swap folders
set backup
set undofile
set undodir=/$HOME/.vim/temp_dirs/undo//
set backupdir=/$HOME/.vim/temp_dirs/backup//
set directory=/$HOME/.vim/temp_dirs/swap//
"Disable all use of a mouse
autocmd BufEnter * set mouse=
" Get rid of indenting at a : for python
autocmd FileType python setlocal indentkeys-=<:>
autocmd FileType python setlocal indentkeys-=:
Metadata
Metadata
Assignees
Labels
No labels