RAM building up fast
-
Hello,
I have the Starling 2 development kit, and during long-term testing, I've noticed that RAM usage increases very quickly (to the point of crashing the drone), even though the drone is on the bench and I’m only connected via SSH without running any external programs. I'm using SDK version 1.3.5. Has this happened before, and how can I clear the RAM to prevent the drone from crashing?Julien
Setup : Starling 2 , SDK 1.3.5,
-
@Judoor-0 this is a very unlikely occurance for a barebones instance with no external code running on the drone. I would recommend reflashing SDK 1.3.5 and the sys image and starting fresh to make sure there is nothing corrupt going on behind the scenes. Post install if this is still the case please let us know.
-
Hello,
I have the Starling 2 development kit, and during long-term testing, I've noticed that RAM usage increases very quickly (to the point of crashing the drone), even though the drone is on the bench and I’m only connected via SSH without running any external programs. I'm using SDK version 1.3.5. Has this happened before, and how can I clear the RAM to prevent the drone from crashing?Julien
Setup : Starling 2 , SDK 1.3.5,
-
@Judoor-0 Can you post the output of
voxl-inspect-servicesso we can get an idea of what parts of the software stack you're running?@tom
Here is a picture of my services :


It happened only the other day, multiple time.
But I've tested the drone again today and ram seems good, never going above 3590MB/7671MB.Maybe one of my code was running in the back, I don't really know. If it happen again i'll tell you. And send you more precise information on what's running
Thanks for your help.
Julien
-
@tom
Here is a picture of my services :


It happened only the other day, multiple time.
But I've tested the drone again today and ram seems good, never going above 3590MB/7671MB.Maybe one of my code was running in the back, I don't really know. If it happen again i'll tell you. And send you more precise information on what's running
Thanks for your help.
Julien
@Judoor-0 , if you can reliably reproduce this, please look at output of
top, which will show all the processes and amount of memory they are using, you can also sort them by memory usage, please check usage of thetoptool. Hopefully this will allow you to pinpoint which process uses a lot of memory and more importantly increasing amount of memory.You can check the memory usage per process and see if there is any process that uses more memory over time. Try to do that without flying first, but running the whole processing stack if possible.
Alex
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login