Notice that we only allocated enough memory for 10000 points, and we know from the output from the previous example that this chirp takes 13515 points. Therefore running this example results in following error message printed to stderr:
GRASP:phase_frequency():Allocated memory is filled up before reaching the maximum frequency requested for this chirp. Orbital Frequency Reached(Hz): 98.867607, Number of points: 10000 Terminating chirp. Termination code set to: 2001 Returning to calling routine.
However, even though the routine ran out of memory it still computed
the first 10000 points of the chirp and returned them in the
arrays *ptrptrCos[0..steps_alloc-1] and