Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-1 sequences shown in organism card when there are none #2048

Open
corneliusroemer opened this issue May 28, 2024 · 1 comment
Open

-1 sequences shown in organism card when there are none #2048

corneliusroemer opened this issue May 28, 2024 · 1 comment
Labels
discussion Open questions website Tasks related to the web application
Milestone

Comments

@corneliusroemer
Copy link
Contributor

corneliusroemer commented May 28, 2024

I just noticed this strange -1 sequences on main:

Google Chrome 2024-05-28 20 00 12

This seems to happen when LAPIS is out of heap space. Interestingly, this never happened before LAPIS 0.2 - did heap requirements go up?

	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.OutOfMemoryError: Java heap space
2024-05-28 17:03:34,190 WARN [http-nio-8080-exec-3] [cb4e7d96-afb3-4650-a0eb-808d4ce1003c] org.genspectrum.lapis.controller.ExceptionHandler: Caught unexpected exception: Handler dispatch failed: java.lang.OutOfMemoryError: Java heap space
jakarta.servlet.ServletException: Handler dispatch failed: java.lang.OutOfMemoryError: Java heap space
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1104)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)
	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:175)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:150)
	at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:289)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
@theosanderson
Copy link
Member

The -1 was intentionally introduced in: #2020 because it's much better than the alternative of the entire website not working (of course it could be incremented on further).

@chaoran-chen chaoran-chen added website Tasks related to the web application discussion Open questions labels Jul 4, 2024
@chaoran-chen chaoran-chen added this to the post-MVP milestone Jul 4, 2024
@chaoran-chen chaoran-chen moved this to Backlog in Planning Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Open questions website Tasks related to the web application
Projects
Status: Backlog
Development

No branches or pull requests

3 participants