AtlasOfLivingAustralia / biocollect

Biocollect front end application
https://biocollect.ala.org.au/
Other
10 stars 14 forks source link

Project download failing #1601

Open temi opened 2 weeks ago

temi commented 2 weeks ago

Project download is failing due to Out of Memory error. At the moment, project serialisation (toMap) gets all activities. This can run into hundreds of thousands. The area to fix is below.

Also, the template for download used is works project. check if that is suitable or need to change in citizen science perspective.

SearchController.groovy

exportProjectsToXls(Set<String> projectIds, ProjectExporter projectExporter) {
...
                Map project =  projectService.get(projectIds[i], **ProjectService.ALL**)
...
}