TonyRobotics / RoboWare

316 stars 205 forks source link

High memory use due to YMCD - Python process #29

Open richard-a-mck opened 7 years ago

richard-a-mck commented 7 years ago

Hi there. When I run ctrl+shift+b to compile my ROS projects using Roboware there is a python process using a huge amount of system memory and virtual memory. image The full text of the "command line" is: python /usr/share/roboware-studio/resources/app/extensions/RichardHe.you-complete-me-1.0.36/ycmd/ycmd --port=35295 --options_file=/tmp/VSCodeYcmOptions-1502923075943 --idle_suicide_seconds=600 I'm using Ubuntu 16.04, ROS Kinetic and Roboware 0.7.1 - Commit 0c84d601c4f6c7faef26fc4298f01b1055ec7391 Any ideas what might be causing this? It's making Roboware almost unusable. It was fine under Ubuntu 14.04, changing to 16 and reinstalling seems to have lead to this issue.

richard-a-mck commented 7 years ago

This appears to be related - VSCode You-complete-me - issue 11

richard-a-mck commented 7 years ago

Issue occurs in any cpp file, particular if peek is used, not during compilation. Removing cpp from ymcd languages in settings and restarting roboware fixes the problem but means that peek cannot be used.