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

Face recognition memory keeps resetting to 1G #5643

Open
priyankub opened this issue Nov 24, 2024 · 5 comments
Open

Face recognition memory keeps resetting to 1G #5643

priyankub opened this issue Nov 24, 2024 · 5 comments
Labels
1. to develop Accepted and waiting to be taken care of documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@priyankub
Copy link

Steps to reproduce

  1. php occ face:setup -M 4G
  2. docker restart nextcloud-aio-nextcloud

Expected behavior

Expect setting to be persistent

Actual behavior

Resets to 1GB.
Then user needs to restart and immediately run setup again else face recognition job will start which doesn't allow setup

Other information

Host OS

Output of sudo docker info

Docker run command or docker-compose file that you used

Other valuable info

@priyankub priyankub added the 0. Needs triage Pending approval or rejection. This issue is pending approval. label Nov 24, 2024
@szaimen
Copy link
Collaborator

szaimen commented Nov 24, 2024

Hi, this value is currently not customizable and hardcoded to 1G. I guess we should document this though. Can you please open a PR and adjust this here? https://github.com/nextcloud/all-in-one/tree/main/community-containers/facerecognition#notes

@szaimen szaimen added 1. to develop Accepted and waiting to be taken care of documentation Improvements or additions to documentation help wanted Extra attention is needed and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Nov 24, 2024
@priyankub
Copy link
Author

Rather, could I do a PR to make it customizable through an env variable? I have a server with 128GB RAM, and 16G allocated to my nextcloud PHP. So just 1GB for facerecognition is quite little!

@szaimen
Copy link
Collaborator

szaimen commented Nov 25, 2024

Ro you run in a bug with that currently or why do you want to increase it?

@priyankub
Copy link
Author

Because documentation for the app says it could make use of up to 4GB RAM, and since I have the resources, I would rather use it.

@projector3d
Copy link

Was this every addressed and or updated? Right now my Queue is pretty much locked up and I believe I have run into a memory issue....

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants