Error: C stack usage is too close to the limit when using options( shiny.trace =T)

I am getting this memory error only when using shiny.trace=T

The app runs without error , but not behaving as expected ( hence the need for trace!)

any suggestions on how to increase the available memory ( windows 10 PC has 12GB RAM)
or otherwise work around.