You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.
# Extract from log file: /var/www/midas3/log/development.log
#
#
# memory: Size of a "item" dao
# cumul_memory: Cumulated size of all item daos instantiated in this loop
# total_memory: Total memory used by this script
I am afraid the problems Midas has with large numbers of items in a folder are deeper than a fetchAll command. Also, using fetch with a loop would be extremely slow, so it does not solve the problem.
jcfr
added a commit
to Slicer/Midas
that referenced
this issue
Apr 28, 2019
Since in the context of Slicer, it is safe to assume that no duplicated links
will be added, this commit removes the explicit check.
See midasplatform#69
jcfr
added a commit
to Slicer/Midas
that referenced
this issue
Apr 28, 2019
Since in the context of Slicer, it is safe to assume that no duplicated links
will be added, this commit removes the explicit check.
See midasplatform#69
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Copied from http://public.kitware.com/MidasBT/view.php?id=1057
In folder with more than 16000 items, it is not possible to add new items.
Solution
References
Details
Debug statement can be re-enabled on the server http://slicer.kitwarein.com by doing:
... or applying the enclosed patch on your local installation.
See midas-debug-stmt.patch and slicerpackages-debug-stmt.patch. See midas-debug-stmt.patch.txt and slicerpackages-debug-stmt.patch.txtThen, when creating a new item, the execution unrolls as described below:
On my workstation:
Checkout Slicer Source, then use the script published in this gist: https://gist.github.com/jcfr/9380371
On slicer.kitwarein.com:
Considering that the memory limit set on the server is
256MB
, this explain why the upload failed.Associated versions
The text was updated successfully, but these errors were encountered: