-
-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak? #582
Comments
Can also confirm same thing happens in windows (V3.3.0) |
I will look at this today. Thanks for reporting |
Are you compiling in release or debug mode? |
I'd guess release - it'll be in the AUR build file somewhere I guess: the relevant part seems to be: build() { |
I pulled and build the current master (b199cf5), not sure it's fixed..? |
On my computer it seems it might be related to OpenGL. Can you disable OpenGL in Preferences, relaunch PlotJuggler and check if anything chnages? |
Yeah that's miles better. |
This really sucks. OpenGL makes visualization so useful, and I have no idea how to fix this :( |
I feel for you man, sucks when stuff you need to fix is out of your control. I suppose you could file a bug request.. :o |
Problem description
Memory consumed by the application increases each time new data/layout is loaded (as mentioned in #491) until eventually the system starts to choke due to lack of memory (can be as few as 10 reloads).
Steps to reproduce (important)
In order to 'refresh' the plots when the source data has changes, I do the following sequence:
However each time I do this, the memory consumed by the application increases (as view by system monitor e.g. htop "RES") until after a few (maybe 10) loops the system starts to choke due to lack of memory.
The memory consumed for each 'loop' as reported by htop "RES" is:
I also tried using the 'clear data points' menu item and the trashcan icon/delete all or delete points (each seems to give the same result)
Describe your platform / Operative System.
Manjaro Linux / Plotjuggler v3.3.5 via from AUR.
The problem was first noticed on 3.3.1, but I edited the AUR build file to pull and build 3.3.5 and the same issue persists in this version (latest available as of right now).
If it can't be reproduced with the dummy data, please share the CSV file or the rosbag that can be used to reproduce the problem.
I don't know what a rosbag is (sounds dirty) and I didn't try with the sample data (I can if you really need me to) but I attach my sample data and layout that shows the problem.
This data file is ~1.6megabytes (not that big?)
plotjugglerMemoryLeakData.zip
The text was updated successfully, but these errors were encountered: