mirror of
https://github.com/photoprism/photoprism.git
synced 2026-03-02 22:57:18 -05:00
Thumbs: Allow more fine-grained control over libvips memory usage #2308
Labels
No labels
ai
android
api
auth
awesome
bug
bug
ci
cli
config
database
declined
deprecated
docker
docs 📚
documents
duplicate
easy
enhancement
enhancement
enhancement
epic
faces
feedback wanted
frontend
hacktoberfest
help wanted
idea
in-progress
incomplete
index
invalid
ios
labels
live
live
low-priority
macos
member-feature
metadata
mobile
nas
needs-analysis
no-coding-required
no-coding-required
observability
performance
places
please-test
plus-feature
priority
pro-feature
question
raspberry-pi
raw
released
released
released
research
resolved
security
sharing
tested
tests
third-party-issue
thumbnails
upgrade
upstream-issue
ux
vector
video
waiting
won't fix
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/photoprism#2308
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lastzero on GitHub (Apr 25, 2025).
Originally assigned to: @lastzero on GitHub.
As an admin, I would like to have more control over the memory usage of libvips so that I can adjust it as needed, e.g. when running multiple instances on the same server.
Our primary thumbnail image generation library
libvipsis initialized ininternal/thumb/vips_init.gousing the following parameters:Currently, memory usage parameters like
MaxCacheMemare automatically set depending on the available system memory, seeinternal/thumb/init.go:This should be improved to allow admins or orchestration tools to set a static cache size limit as needed, e.g. to limit total memory usage when running multiple instances / indexing multiple libraries on the same server.
Related Issues: