dcm4chee
  1. dcm4chee
  2. DCMEE-2155

Display DICOM attributes from file causes an OutOfMemoryError: Java heap space for large files (2.8 GB)

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: dcm4chee-2.18.5HF1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Tracking Status:
      Risk Analysis - Todo, Test Spec - ToReview, Test State - Not tested
    • Test State:
      NOT tested
    • Risk Analysis:
      Todo
    • Test Spec:
      ToReview

      Description

      Display DICOM attributes from file causes an OutOfMemoryError: Java heap space

      2017-07-05 14:02:50,071 ERROR -> (http-10.231.161.166-8080-5) [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web].[default]] Servlet.service() for servlet default threw exception
      java.lang.OutOfMemoryError: Java heap space
      at org.dcm4che2.io.DicomInputStream.readBytes(DicomInputStream.java:650)
      at org.dcm4che2.io.DicomInputStream.readItemValue(DicomInputStream.java:637)
      at org.dcm4che2.io.DicomInputStream.readValue(DicomInputStream.java:563)
      at org.dcm4che2.io.DicomInputStream.parse(DicomInputStream.java:515)
      at org.dcm4che2.io.DicomInputStream.readItems(DicomInputStream.java:603)
      at org.dcm4che2.io.DicomInputStream.readValue(DicomInputStream.java:585)
      at org.dcm4che2.io.DicomInputStream.parse(DicomInputStream.java:515)
      at org.dcm4che2.io.DicomInputStream.readDicomObject(DicomInputStream.java:415)
      at org.dcm4che2.io.DicomInputStream.readDicomObject(DicomInputStream.java:423)
      at org.dcm4chee.web.war.folder.StudyListPage$52.onClick(StudyListPage.java:2885)
      at org.apache.wicket.ajax.markup.html.AjaxFallbackLink$1.onEvent(AjaxFallbackLink.java:73)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:312)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Philipp Halbrainer
            Testing Assignee:
            Sabine Kolics
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development