Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-4581

"Cannot allocate enough Memory to show the message" message shows up when using SPK Propagator inside Targeter

    Details

      Description

      1. Please run the attached script.

      2. Notice number of iterations in the Message Window: After about 40 iterations, I get the following message about "not being able to allocate enough memory to show the message".

      *** WARNING *** Cannot allocate enough memory to show the message.
      *** WARNING *** Cannot allocate enough memory to show the message.
      *** WARNING *** Cannot allocate enough memory to show the message.
      *** WARNING *** Cannot allocate enough memory to show the message.
      

      3. As soon as this message shows up, GMAT stops to function properly. If you try to run GMAT again by hitting the 'Run' button in the GUI, then GMAT freezes and you have to close GMAT via Task Manager. You'll get following error message in Message window:

      **** ERROR ****  Moderator caught an unknown error during Sandbox Initialization.
      

      4. Start fresh GMAT and in the script, go to 2nd targeter. Notice that inside the targeter, there are two 'prop to Apoapsis' Propagate commands. When you run the script with 'Prop to Apoapsis' propagate command that uses SPK_Propagator, it is THEN I see the above memory allocation message in the Message window.

      5. If you run the script by first commenting out 'Prop to Apoapsis' propagate command that uses SPK_propagator, and uncomment 'Prop to Apoapsis' propagate command that uses DefaultProp, then GMAT runs to completion. Although the targeter does not converge but you do not see the above memory message in the Message Window.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            gmat_wcs Wendy Shoan added a comment -

            I think we have determined what the issue is. Linda is checking in a fix shortly.

            Show
            gmat_wcs Wendy Shoan added a comment - I think we have determined what the issue is. Linda is checking in a fix shortly.
            Hide
            rqureshi Rizwan Qureshi added a comment -

            Splendid!

            Show
            rqureshi Rizwan Qureshi added a comment - Splendid!
            Hide
            rqureshi Rizwan Qureshi added a comment -

            Linda: Once the GMAT build is done in next 1 hour, I'll go ahead and verify this bug.

            Show
            rqureshi Rizwan Qureshi added a comment - Linda: Once the GMAT build is done in next 1 hour, I'll go ahead and verify this bug.
            Hide
            rqureshi Rizwan Qureshi added a comment -

            Using RC5 and 05/19/20014 builds, after running both Delta_RA_DEC.script and SPK Propagator inside Targeter.script, I NO LONGER see message of 'Cannot allocate enough memory to show the message"! Now the scripts run to completion (without convergence which is expected) and GMAT does not crash or freeze up. I'm marking this issue as resolved and verified.

            Show
            rqureshi Rizwan Qureshi added a comment - Using RC5 and 05/19/20014 builds, after running both Delta_RA_DEC.script and SPK Propagator inside Targeter.script, I NO LONGER see message of 'Cannot allocate enough memory to show the message"! Now the scripts run to completion (without convergence which is expected) and GMAT does not crash or freeze up. I'm marking this issue as resolved and verified.
            Hide
            rqureshi Rizwan Qureshi added a comment -

            Verified the fixture on 05/19/2014 build and also on full RC5 package.

            Show
            rqureshi Rizwan Qureshi added a comment - Verified the fixture on 05/19/2014 build and also on full RC5 package.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: