Skip to content
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

Very high RAM usage of CVAT in browser for object detection bounding box annotations on client side. #8467

Open
2 tasks done
YadneshD opened this issue Sep 24, 2024 · 12 comments
Labels
bug Something isn't working need info Need more information to investigate the issue

Comments

@YadneshD
Copy link

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

I have deployed CVAT on a server with high RAM config around 32 GB. But on client side, in browser, the RAM available is 6 GB. In a few projects, the RAM on client PC is exhausted by the browser running CVAT. I don't have higher RAM config for annotators working on my object detection project. They are editing bounding boxes on a object detection project. 6 GB is still decent RAM for annotating image frames. Please help! The PC gets hanged and freezes when I load few images from that project.

Expected Behavior

No response

Possible Solution

No response

Context

No response

Environment

Client side - 
Windows
Chrome broswer
6 GB RAM.

Server side -
Linux Ubuntu 22.04
docker
@YadneshD YadneshD added the bug Something isn't working label Sep 24, 2024
@YadneshD YadneshD changed the title Very high RAM usage of CVAT in browser for object detection bounding box annotaions on client side. Very high RAM usage of CVAT in browser for object detection bounding box annotations on client side. Sep 24, 2024
@bsekachev
Copy link
Member

bsekachev commented Sep 30, 2024

CVAT version? And what is typical image resolution in the project?

@bsekachev bsekachev added the need info Need more information to investigate the issue label Sep 30, 2024
@YadneshD
Copy link
Author

Server version: 2.19.0

Core version: 15.2.0

Canvas version: 2.20.9

UI version: 1.66.0

Few Images are HD of 6 MB size and 5000 x 8000 pixels resolution.

@bsekachev
Copy link
Member

And how much RAM does the browser use?

You may know it for example by hovering Google Chrome tab with the mouse

@YadneshD
Copy link
Author

YadneshD commented Sep 30, 2024

Currently the annotators PC have 16 GB RAM. Only chrome is running on it. Sometimes it consumes 15 GB RAM which is much more for simple annotations job. For some images, even 16 GB RAM crashes.

@bsekachev
Copy link
Member

I am interested in how much RAM tab with CVAT uses, not Chrome itself. Usually Chrome does not allow more than 4 GB for one tab. But it depends on system configuration.

@YadneshD
Copy link
Author

Chrome shows CVAT consumes max 6.7 GB. At start, it is 316 MB, then fluctuates between values - 5.3 GB, 6.7 GB, 3.3 GB, etc. when I navigate between images. The RAM utilization got from 15 GB to 5.1 GB when I closed chrome on the whole.

@bsekachev
Copy link
Member

bsekachev commented Sep 30, 2024

So, you just have a task with ~5000x6000px images (btw what is chunk size? or you did not change its default value?), you open the job and navigate between frames? Do you do anything else? (e.g. apply color filters, image equalization or something else?)

Also, you have contextual images in the task?

May you provide a backup file, containing the task as a minimal reproducing example?

@YadneshD
Copy link
Author

YadneshD commented Sep 30, 2024

I didn't change default value. Yes I need to navigate frames sometimes. Don't apply any color filters, equalization or anything else.
What are contextual images ?
I need some time to have the example. I will provide you the zip file by tomorrow.

@bsekachev
Copy link
Member

Okay, I will wait then.

@YadneshD
Copy link
Author

YadneshD commented Oct 1, 2024

@bsekachev Please download sample dataset - download

It is YOLOv8 detection 1.0 format.

@YadneshD
Copy link
Author

YadneshD commented Oct 2, 2024

@bsekachev Any updates on it buddy? Are you guys working on it ? Have you guys downloaded sample dataset from above link provided? I need to delete it from drive.

@bsekachev
Copy link
Member

I downloaded the file, but did not check the issue yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need info Need more information to investigate the issue
Projects
None yet
Development

No branches or pull requests

2 participants