Currently when any sort of operation that requires putting annotations into a page is performed, all matching annotations will be buffered into memory.
This can be seen in action here:
|
annotations = annotations.subList(from, to); |
This should be revised to allow pagination to be done on the database server.
Currently when any sort of operation that requires putting annotations into a page is performed, all matching annotations will be buffered into memory.
This can be seen in action here:
elucidate-server/elucidate-server/src/main/java/com/digirati/elucidate/infrastructure/builder/AnnotationPageBuilder.java
Line 37 in 713ad41
This should be revised to allow pagination to be done on the database server.