org.glassfish.jersey.server.internal.process.MappableException: 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 GitHub by brianhatchl
, 1 year ago
java.lang.OutOfMemoryError: Java heap space
org.glassfish.jersey.server.internal.process.MappableException: java.lang.OutOfMemoryError: Java heap space
at sun.misc.FDBigInt.(FloatingDecimal.java:2461)
at sun.misc.FloatingDecimal.doubleValue(FloatingDecimal.java:1484)
at java.lang.Double.parseDouble(Double.java:540)
at org.postgresql.jdbc.PgResultSet.toDouble(PgResultSet.java:2908)
at org.postgresql.jdbc.PgResultSet.getDouble(PgResultSet.java:2293)
at org.apache.commons.dbcp.DelegatingResultSet.getDouble(DelegatingResultSet.java:234)
at com.querydsl.sql.types.DoubleType.getValue(DoubleType.java:44)
at com.querydsl.sql.types.DoubleType.getValue(DoubleType.java:27)
at com.querydsl.sql.Configuration.get(Configuration.java:188)
at com.querydsl.sql.AbstractSQLQuery.get(AbstractSQLQuery.java:206)
at com.querydsl.sql.AbstractSQLQuery.newInstance(AbstractSQLQuery.java:560)
at com.querydsl.sql.AbstractSQLQuery.fetch(AbstractSQLQuery.java:458)
at hoot.services.models.osm.Way.getNodesForWays(Way.java:117)
at hoot.services.models.osm.Relation.getBoundsForNodesAndWays(Relation.java:309)
at hoot.services.models.osm.Relation.parseNodesAndWayMembersBounds(Relation.java:283)
at hoot.services.models.osm.Relation.getBounds(Relation.java:352)
at hoot.services.controllers.osm.ChangesetDbWriter.parseElements(ChangesetDbWriter.java:355)
at hoot.services.controllers.osm.ChangesetDbWriter.write(ChangesetDbWriter.java:493)
at hoot.services.controllers.osm.ChangesetDbWriter.write(ChangesetDbWriter.java:403)
at hoot.services.controllers.osm.ChangesetResource.upload(ChangesetResource.java:215)
at hoot.services.controllers.osm.ChangesetResource$$FastClassBySpringCGLIB$$d008b336.invoke()
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at hoot.services.controllers.osm.ChangesetResource$$EnhancerBySpringCGLIB$$af83683a.upload()

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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