SRAM overflow

Listen to Paul. malloc is allocating the same SRAM that you are running out of so running malloc is not helping.