Robot performance issues when running Debug

Aside from moving the code to invokable work flows, what do you recommend to improve performance, especially when running debug?

I have moved most of the code to other work flows and requested a memory upgrade (which takes time).