Workflow system out of memory exception


I am writing one code in one workflow, later i increased activities in that same workflow, after that i got error in that document, stating system.outof memory exception, i am not able to view the code.
can anyone please help me with this.

Thanks and regards