The return of the dreaded OOM error in 2.6.0.16!?

I installed SGP 2.6.0.16 tonight. To my dismay, I just received the dreaded OOM error, which I thought was a thing of the past:

[03/01/17 19:58:23.126][DEBUG] [Camera Thread] ASCOM Camera Error : Exception of type 'System.OutOfMemoryException' was thrown.
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)
   at ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type[] parameterTypes, Object[] parms) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 294
   at ASCOM.DriverAccess.Camera.get_ImageArray() in c:\ASCOM Build\Export\ASCOM.DriverAccess\Camera.cs:line 361
   at qo.h7(oz A_0, qy& A_1)

Is it possible the new build was not built with large address awareness again?

Uuuuuggghhhhh. I added it to our build process but apparently something is happening that is removing it from the exe. This is getting really annoying.

Thanks,
Jared

This is getting really annoying.

LOL. Can’t argue with you there. :stuck_out_tongue: I hope this is the last time you have to deal with it, and me asking you to fix it. :heart_eyes:

2 Likes

[03/02/17 21:33:27.461][DEBUG] [Main Thread] Calculating HFR with sample size: 6
[03/02/17 21:33:27.992][DEBUG] [Camera Thread] SGM_FRAME_AND_FOCUS complete…
[03/02/17 21:33:35.616][DEBUG] [Focuser Thread] SGM_FOCUSER_MOVE_REL message received…
[03/02/17 21:33:35.619][DEBUG] [Focuser Thread] Focuser moving to 22660
[03/02/17 21:33:35.620][DEBUG] [Focuser Thread] Focuser move call complete
[03/02/17 21:33:36.734][DEBUG] [Focuser Thread] SGM_FOCUSER_MOVE_REL complete…
[03/02/17 21:33:41.300][DEBUG] [Camera Thread] SGM_FRAME_AND_FOCUS message received…
[03/02/17 21:33:41.305][DEBUG] [Camera Thread] ASCOM camera: frame and focus…
[03/02/17 21:33:41.306][DEBUG] [Camera Thread] SetAscomGain to 0
[03/02/17 21:33:41.307][DEBUG] [Camera Thread] Camera gain set to 0
[03/02/17 21:33:41.307][DEBUG] [Camera Thread] SetAscomNormalSpeed…
[03/02/17 21:33:41.307][DEBUG] [Camera Thread] Cannot set readout speed, not supported by camera…
[03/02/17 21:34:13.555][DEBUG] [Camera Thread] ASCOM Camera Error : CheckDotNetExceptions ASCOM.ASICamera2.Camera ImageArray Get System.OutOfMemoryException: Insufficient memory to continue the execution of the program. (See Inner Exception for details) (System.OutOfMemoryException: Insufficient memory to continue the execution of the program.)
at ASCOM.DriverAccess.MemberFactory.CheckDotNetExceptions(String memberName, Exception e) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 630
at ASCOM.DriverAccess.MemberFactory.GetTargetInvocationExceptionHandler(String memberName, Exception e) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 664
at ASCOM.DriverAccess.MemberFactory.CallMember(Int32 memberCode, String memberName, Type parameterTypes, Object parms) in c:\ASCOM Build\Export\ASCOM.DriverAccess\MemberFactory.cs:line 288
at ASCOM.DriverAccess.Camera.get_ImageArray() in c:\ASCOM Build\Export\ASCOM.DriverAccess\Camera.cs:line 361
at qo.h7(oz A_0, qy& A_1)
[03/02/17 21:34:13.556][DEBUG] [Camera Thread] ASCOM camera: frame and focus error. : Error capturing during frame and focus!
at qo.gp(oz A_0, qy& A_1)
[03/02/17 21:34:18.057][DEBUG] [Camera Thread] SGM_FRAME_AND_FOCUS complete…
[03/02/17 21:34:22.614][DEBUG] [Main Thread] PopulateDataModel: Transferring view to the data model…
[03/02/17 21:34:22.621][DEBUG] [MF Update Thread] Performing serialize…
[03/02/17 21:34:23.423][DEBUG] [Camera Thread] SGM_FRAME_AND_FOCUS message received…
[03/02/17 21:34:23.429][DEBUG] [Camera Thread] ASCOM camera: frame and focus…
[03/02/17 21:34:23.430][DEBUG] [Camera Thread] SetAscomGain to 0
[03/02/17 21:34:23.431][DEBUG] [Camera Thread] Camera gain set to 0
[03/02/17 21:34:23.431][DEBUG] [Camera Thread] SetAscomNormalSpeed…
[03/02/17 21:34:23.432][DEBUG] [Camera Thread] Cannot set readout speed, not supported by camera…

This should be addressed with 2.6.0.17. Sorry about all the back and forth on this one. We moved to a new installer but unbeknownst to us it was only allowing 60 seconds for the build process. Which was generally enough to build SGP but not enough time to get past signing and some other things. Unfortunately it was also failing silently so it seemed like it was working ;-/

This should be addressed going forward.

Thanks,
Jared

2 Likes