6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
1/9/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6418] Face recognition
*
Your Email Address
*
Spam protection
Enter the letters below:
.__. __.. .. .__ | |(__ |__|| [__) |__\.__)| ||___|
Comment
>> Just a note: if I import my large data set in > >>> current Ansel code, PHP dies with memory exhausted fatal error as > >>> Ansel will eat more than 128 MB of ram. > >> > >> Do you know where it is exhausting the memory? During what operation? > > > > The main problem is in the listGalleries() usage. With a really lot > of galleries the list grows up to thousands of entries wherever we > don't limit the results. This is done in block galleries selection > and getRecentImages() method. We should limit gallery selection in > the blocks parameters. For example if we count more then 50 galleries > we should skip galleries selections or allow to jut enter the gallery > id. For getRecentImages() we must allow the galleries selection in a > direct SQL query. Of course is impossible to run a SQL query with > thousands of gallery_id in the IN(...) clause. I attaching a patch, > maybe a little hacky but is all I can do for now.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers