label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

High memory usage (server-side)

Open RobinFrcd opened this issue 3 years ago • 2 comments

Describe the bug I've deployed LabelStudio in a docker container and after some usage, the container RAM usage just keeps growing. It's sitting at 1.7GiB right now.

image

To Reproduce Steps to reproduce the behavior:

  1. Deploy on Docker
  2. Do some annotations
  3. See the RAM usage growing

Environment (please complete the following information):

  • Label Studio Version: 1.5.0.post0

RobinFrcd avatar Aug 24 '22 18:08 RobinFrcd

Memory Utilization within CloudWatch is based on real memory + swap space + probably RSS. So it's not true.

You can ssh on this VM and run top or htop(recommended, install it using apt-get)

farioas avatar Aug 25 '22 13:08 farioas

Right now, htop shows RES=842M. I'll edit this message in a few hours if I see the RAM usage increasing too much, thanks !

34min later: RES=1231M 1h10 later: RES=1410M ~3h later: RES=1623M

RobinFrcd avatar Aug 25 '22 13:08 RobinFrcd