DataMiner throwing System.OutOfMemoryException

Nov 22, 2016 at 3:07 PM
Edited Nov 22, 2016 at 3:41 PM
Hi Everyone,

It looks like this one particulars patient query is growing beyond the allowed memory for the app. I have checked on the task manager and the application grows shy of 2Gb and then the error is throw. Is there any way of allowing more memory for this application? Any suggestions greatly appreciated!

Stack trace:
Processing patient XXXXXXX System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Generic.List`1.ToArray()
   at VMS.TPS.Common.Model.DVHData.CreateResampledCurveData(Double binWidth) in
b:\va\core\tps.net\common\vms.tps.common.model\dvhdata.cpp:line 75
   at VMS.TPS.Common.Model.PlanSetup.GetDVHCumulativeData(IStructure structure,
DoseValuePresentation dosePresentation, VolumePresentation volumePresentation, Double binWidth) in b:\va\core\tps.net\common\vms.tps.common.model\plansetup.cpp:
line 1024
   at VMS.TPS.Common.Model.API.PlanningItem.GetDVHCumulativeData(Structure structure, DoseValuePresentation dosePresentation, VolumePresentation volumePresentation, Double binWidth)
   at Miner.Program.ReportOnePlan(Patient patient, PlanSetup ps, StreamWriter reportFile, String[] args)
   at Miner.Program.ReportOnePatient(Patient patient, StreamWriter reportFile, String[] args)
   at Miner.Program.Execute(Application app, String[] args)
   at Miner.Program.Main(String[] args)
Coordinator
Dec 4, 2016 at 7:15 PM
I don't think there is a memory limitation for an application (other than the available system memory, of course). But there is a memory limitation for a single object (see http://stackoverflow.com/questions/6107322/memory-limitations-in-a-64-bit-net-application).

Is Eclipse able to open the patient without problems?