I guess the person above is right, even though it is a controlled assessment and you're not technically allowed by law to do any preparation at home...no one can stop you.
Even for other languages like Spanish or French (writing exams) many people just memorise their work. It's more a question of your morals and your level of memory.
If not memorise the whole thing, try and memorise quotes or certain analysis that will make the writing a lot easier for you.