I'm able to connect OsiriX to XNAT VM via the Gateway. I am also able to query data in XNAT just fine, and requests for retrieving images to XNAT are working, but before they complete I'm getting an out of memory error. Am unsure where the memory error is occurring, especially since my workstation has 1.27 GB free. Would this be on the VM (nothing relevant to this is showing up in catalina.out...).
null
INFO - Apr 25, 2013 4:53:28 PM XNAT Gateway server v. Aug 2012 started
INFO - handle - Socket[addr=/
160.94.163.94,port=64846,localport=4008]
INFO - received AAssociateRQ
appCtxName: 1.2.840.10008.3.1.1.1/DICOM Application Context Name
implClass: 1.2.276.0.7238010.5.0.3.5.4
implVersion: OSIRIX
calledAET: XNATGATEWAY
callingAET: PACS
maxPDULen: 16384
asyncOpsWindow:
pc-1: as=1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
ts=1.2.840.10008.1.2.1/Explicit VR Little Endian
ts=1.2.840.10008.1.2/Implicit VR Little Endian
ts=1.2.840.10008.1.2.2/Explicit VR Big Endian
ts=1.2.840.10008.1.2.4.90/JPEG 2000 Lossless Image Compression
ts=1.2.840.10008.1.2.4.91/JPEG 2000 Lossy Image Compression
ts=1.2.840.10008.1.2.4.70/JPEG Lossless, Non- Hierarchical, First-Order Prediction (Process 14 [Selection Value 1])
ts=1.2.840.10008.1.2.4.50/JPEG Baseline (Process 1)
ts=1.2.840.10008.1.2.4.51/JPEG Extended (Process 2 & 4)
ts=1.2.840.10008.1.2.5/RLE Lossless
ts=1.2.840.10008.1.2.4.100/MPEG2 Main Profile @ Main Level
INFO - sending AAssociateAC
appCtxName: 1.2.840.10008.3.1.1.1/DICOM Application Context Name
implClass: 1.2.40.0.13.1.1
implVersion: dcm4che-1.4.27
calledAET: XNATGATEWAY
callingAET: PACS
maxPDULen: 16352
asyncOpsWindow:
pc-1: 0 - acceptance
ts=1.2.840.10008.1.2/Implicit VR Little Endian
INFO - received [pc-1] 1:C_FIND_RQ with Dataset
class: 1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
INFO - Apr 25, 2013 4:54:14 PM: REST query string:
/experiments?xnat:subjectdata/label=IT_IT*&columns=xnat:experimentdata/label,xnat:subjectdata/label,xnat:subjectdata/demographics[@xsi:type=xnat:demographicdata]/gender,xnat:subjectdata/demographics[@xsi:type=xnat:demographicdata]/dob,xnat:subjectdata/demographics[@xsi:type=xnat:demographicdata]/age,xnat:subjectdata/demographics[@xsi:type=xnat:demographicdata]/height,xnat:subjectdata/demographics[@xsi:type=xnat:demographicdata]/weight,xnat:subjectdata/demographics[@xsi:type=xnat:demographicdata]/ethnicity,xnat:experimentdata/visit_id,xnat:imagesessiondata/uid,project,xnat:experimentdata/project,xsitype,xnat:imagesessiondata/date,xnat:imagesessiondata/time
INFO - sending [pc-1] 1:C_FIND_RSP with Dataset
class: 1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
status: ff00
INFO - sending [pc-1] 1:C_FIND_RSP
class: 1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
status: 0
INFO - received A-RELEASE-RQ
INFO - sending A-RELEASE-RP
INFO - finished - Socket[addr=/
160.94.163.94,port=64846,localport=4008]
INFO - closing connection - Socket[addr=/
160.94.163.94,port=64846,localport=4008]
INFO - handle - Socket[addr=/
160.94.163.94,port=64848,localport=4008]
INFO - received AAssociateRQ
appCtxName: 1.2.840.10008.3.1.1.1/DICOM Application Context Name
implClass: 1.2.276.0.7238010.5.0.3.5.4
implVersion: OSIRIX
calledAET: XNATGATEWAY
callingAET: PACS
maxPDULen: 16384
asyncOpsWindow:
pc-1: as=1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
ts=1.2.840.10008.1.2.1/Explicit VR Little Endian
ts=1.2.840.10008.1.2/Implicit VR Little Endian
ts=1.2.840.10008.1.2.2/Explicit VR Big Endian
ts=1.2.840.10008.1.2.4.90/JPEG 2000 Lossless Image Compression
ts=1.2.840.10008.1.2.4.91/JPEG 2000 Lossy Image Compression
ts=1.2.840.10008.1.2.4.70/JPEG Lossless, Non- Hierarchical, First-Order Prediction (Process 14 [Selection Value 1])
ts=1.2.840.10008.1.2.4.50/JPEG Baseline (Process 1)
ts=1.2.840.10008.1.2.4.51/JPEG Extended (Process 2 & 4)
ts=1.2.840.10008.1.2.5/RLE Lossless
ts=1.2.840.10008.1.2.4.100/MPEG2 Main Profile @ Main Level
INFO - sending AAssociateAC
appCtxName: 1.2.840.10008.3.1.1.1/DICOM Application Context Name
implClass: 1.2.40.0.13.1.1
implVersion: dcm4che-1.4.27
calledAET: XNATGATEWAY
callingAET: PACS
maxPDULen: 16352
asyncOpsWindow:
pc-1: 0 - acceptance
ts=1.2.840.10008.1.2/Implicit VR Little Endian
INFO - received [pc-1] 1:C_FIND_RQ with Dataset
class: 1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
INFO - Apr 25, 2013 4:54:20 PM: REST query string:
/experiments?xsiType=xnat:imageSessionData&xnat:imageSessionData/UID=1.2.840.113857.1129.121048.1410.152921&columns=xnat:imagescandata/uid,xnat:imagescandata/type,xnat:imagescandata/uid,xnat:imagescandata/modality,xnat:imagescandata/id,xnat:imagescandata/series_description,xnat:imagescandata/frames,
INFO - sending [pc-1] 1:C_FIND_RSP with Dataset
class: 1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
status: ff00
INFO - sending [pc-1] 1:C_FIND_RSP
class: 1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
status: 0
INFO - received A-RELEASE-RQ
INFO - sending A-RELEASE-RP
INFO - finished - Socket[addr=/
160.94.163.94,port=64848,localport=4008]
INFO - closing connection - Socket[addr=/
160.94.163.94,port=64848,localport=4008]
INFO - handle - Socket[addr=/
160.94.163.94,port=64850,localport=4008]
INFO - received AAssociateRQ
appCtxName: 1.2.840.10008.3.1.1.1/DICOM Application Context Name
implClass: 1.2.276.0.7238010.5.0.3.5.4
implVersion: OSIRIX
calledAET: XNATGATEWAY
callingAET: PACS
maxPDULen: 16384
asyncOpsWindow:
pc-1: as=1.2.840.10008.5.1.4.1.2.2.2/Study Root Query/Retrieve Information Model - MOVE
ts=1.2.840.10008.1.2.1/Explicit VR Little Endian
ts=1.2.840.10008.1.2/Implicit VR Little Endian
ts=1.2.840.10008.1.2.2/Explicit VR Big Endian
ts=1.2.840.10008.1.2.4.90/JPEG 2000 Lossless Image Compression
ts=1.2.840.10008.1.2.4.91/JPEG 2000 Lossy Image Compression
ts=1.2.840.10008.1.2.4.70/JPEG Lossless, Non- Hierarchical, First-Order Prediction (Process 14 [Selection Value 1])
ts=1.2.840.10008.1.2.4.50/JPEG Baseline (Process 1)
ts=1.2.840.10008.1.2.4.51/JPEG Extended (Process 2 & 4)
ts=1.2.840.10008.1.2.5/RLE Lossless
ts=1.2.840.10008.1.2.4.100/MPEG2 Main Profile @ Main Level
INFO - sending AAssociateAC
appCtxName: 1.2.840.10008.3.1.1.1/DICOM Application Context Name
implClass: 1.2.40.0.13.1.1
implVersion: dcm4che-1.4.27
calledAET: XNATGATEWAY
callingAET: PACS
maxPDULen: 16352
asyncOpsWindow:
pc-1: 0 - acceptance
ts=1.2.840.10008.1.2/Implicit VR Little Endian
INFO - received [pc-1] 1:C_MOVE_RQ with Dataset
class: 1.2.840.10008.5.1.4.1.2.2.2/Study Root Query/Retrieve Information Model - MOVE
move dest: PACS
INFO - Apr 25, 2013 4:54:24 PM: Series retrieve request received
WARN - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
ERROR - Unexpected exception:
javax.management.RuntimeErrorException: java.lang.OutOfMemoryError: Java heap space
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:858)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:869)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:838)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:762)
at org.dcm4chex.archive.dcm.qrscp.MoveScp.c_move(MoveScp.java:163)
at org.dcm4cheri.net.ActiveAssociationImpl.run(ActiveAssociationImpl.java:235)
at org.dcm4cheri.util.LF_ThreadPool.join(LF_ThreadPool.java:174)
at org.dcm4cheri.net.ActiveAssociationImpl.run(ActiveAssociationImpl.java:157)
at org.dcm4cheri.server.DcmHandlerImpl.handle(DcmHandlerImpl.java:249)
at org.dcm4cheri.server.ServerImpl.run(ServerImpl.java:279)
at org.dcm4cheri.util.LF_ThreadPool.join(LF_ThreadPool.java:174)
at org.dcm4cheri.server.ServerImpl$1.run(ServerImpl.java:233)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2786)
at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:133)
at org.nrg.xnat.gateway.XNATCMoveRsp.readZipBuf(XNATCMoveRsp.java:157)
at org.nrg.xnat.gateway.XNATCMoveRsp.retrieveSeries(XNATCMoveRsp.java:258)
at org.nrg.xnat.gateway.XNATCMoveRsp.retrieveSeries(XNATCMoveRsp.java:440)
at org.nrg.xnat.gateway.XNATGatewayServer.retrieveSeries(XNATGatewayServer.java:126)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:264)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
... 10 more
INFO - sending [pc-1] 1:C_MOVE_RSP
class: 1.2.840.10008.5.1.4.1.2.2.2/Study Root Query/Retrieve Information Model - MOVE
status: c000
error comment: javax.management.RuntimeErrorException: java.lang.OutOfMemoryErr
INFO - received A-RELEASE-RQ
INFO - sending A-RELEASE-RP
INFO - finished - Socket[addr=/
160.94.163.94,port=64850,localport=4008]
INFO - closing connection - Socket[addr=/
160.94.163.94,port=64850,localport=4008]
Thanks in advance!
Greg--
--
Greg M. SilvermanLead Developer Analyst
University of Minnesota