glygener / glygen-array-backend

Code for the GlyGen array repository backend.
GNU General Public License v3.0
1 stars 2 forks source link

Oh no.. I may broke ggarray #74

Open yukie-a opened 1 year ago

yukie-a commented 1 year ago

Describe the bug Stack in the ggarray top page

Page The top page as well as the log in page

To Reproduce Steps to reproduce the behavior:

  1. Login
  2. Go to 'Slide Layout'
  3. Click on 'Export to GAL file'
  4. See error: "An unidentified error has occurred. Please be patient while we investigate this."

Screenshots error_28Mar2023

I'm sorry..

senaarpinar commented 1 year ago

There was a "out of memory" error on the server. We need to investigate further what caused it but it looks like you repeatedly tried to "import" a slide layout from xml file. We should make the proper changes to prevent that. But I will also increase the java heap size on the server.

For now, I have restarted the backend on the server.

yukie-a commented 1 year ago

Thank you Sena. I'm sorry ... I might click 'export' buttun when a slide layout was under 'processed' - possibly this is the reason for the 'out of memroy'..?

senaarpinar commented 1 year ago

I made changes to java heap size on the server. I've checked the code to make sure we are not creating new threads when there is a "slide layout upload in progress". This might have happened due to the size of the XML file. We need to test it again with new JVM settings.

senaarpinar commented 1 year ago

the settings did not seem to work. need to figure out how to set it in docker-compose

senaarpinar commented 1 year ago

fixed the setting using MAVEN_OPTS. need to test again to see if increased heap size would fix the problem

yukie-a commented 10 months ago

Hi Sena, I'm sorry for for my late response.

I tried the same process today, and I still see the same issue. I am now making a new slide to test this issue, in case there is an error in my slide layout. I will let you know when I'm done! B y

yukie-a commented 9 months ago

I could export a gal file with new slide layout. thank you.