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

Limit CPU usage. #518

Closed
MRIIOT opened this issue Mar 13, 2025 · 1 comment
Closed

Limit CPU usage. #518

MRIIOT opened this issue Mar 13, 2025 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@MRIIOT
Copy link

MRIIOT commented Mar 13, 2025

Is there a way to limit number of threads used?

@NastyBoget NastyBoget added the question Further information is requested label Mar 14, 2025
@NastyBoget
Copy link
Collaborator

In most cases only one thread is used for files parsing.

For OCR we use tesseract, you can try to set env OMP_THREAD_LIMIT=1 (or google how to limit number of threads used by tesseract OCR).

We haven't tested the limitation of threads, currently I don't think it's possible for sure

@NastyBoget NastyBoget self-assigned this Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants