# RAM building up fast

Source: https://forum.modalai.com/topic/3910/ram-building-up-fast
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: starling
Posted: 2024-11-06 10:58:35 UTC by Judoor 0
Replies: 4 · Views: 989

## Judoor 0 · 2024-11-06 10:58:35 UTC

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,

## Reply by Zachary Lowell 0 · 2024-11-06 16:26:38 UTC

@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.

## Reply by tom (ModalAI staff) · 2024-11-07 18:06:12 UTC

@Judoor-0 Can you post the output of `voxl-inspect-services` so we can get an idea of what parts of the software stack you're running?

## Reply by Judoor 0 · 2024-11-07 18:29:34 UTC (in reply to tom)

@tom 
Here is a picture of my services :
![Capture d'écran 2024-11-07 192401.png](https://forum.modalai.com/assets/uploads/files/1731003899921-capture-d-x27-écran-2024-11-07-192401.png) 
![Capture d'écran 2024-11-07 192845.png](https://forum.modalai.com/assets/uploads/files/1731004142544-capture-d-x27-écran-2024-11-07-192845.png) 
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

## Reply by Alex Kushleyev (ModalAI staff) · 2024-11-13 04:56:10 UTC (in reply to Judoor 0)

@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 the `top` tool. 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
