Add a BY task role to the Summary Tables Task dialog. OR make it so that the currently present "PAGES" task role generates a "BY" statement in the submitted code.
Essentially the TABLE statement allows the procedure to be done "by" page, but having a BY statement sometimes increases effeciency of the procedure and sometimes enables processes to run with out memory errors.