org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.OutOfMemoryError: Java heap space

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via atlassian.com by Unknown author, 2 years ago
Could not open Hibernate Session for transaction; nested exception is java.lang.OutOfMemoryError: Java heap space
via atlassian.com by Unknown author, 2 years ago
Could not open Hibernate Session for transaction; nested exception is java.lang.OutOfMemoryError: Java heap space
via atlassian.com by Unknown author, 2 years ago
Could not open Hibernate Session for transaction; nested exception is java.lang.OutOfMemoryError: Java heap space
via Atlassian JIRA by Chris Szmajda [Atlassian], 1 year ago
Could not open Hibernate Session for transaction; nested exception is java.lang.OutOfMemoryError: Java heap space
via Atlassian JIRA by Chris Szmajda [Atlassian], 1 year ago
Could not open Hibernate Session for transaction; nested exception is java.lang.OutOfMemoryError: Java heap space
via vivit-worldwide.org by Unknown author, 1 year ago
Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is java.lang.OutOfMemoryError: Java heap space
at com.sun.proxy.$Proxy151.getStatus(Unknown Source)
at com.atlassian.stash.internal.check.LicensingCheck.check(LicensingCheck.java:36)
at com.atlassian.stash.internal.check.ScmRequestCheckServiceImpl.checkActionAllowed(ScmRequestCheckServiceImpl.java:50)
at com.sun.proxy.$Proxy158.checkActionAllowed(Unknown Source)
at com.atlassian.stash.internal.scm.ScmServlet.handleRequest(ScmServlet.java:51)
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)
at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:118)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77)
at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100)
at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75)
at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:73)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

11 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.