If your running a JUnit Test on Eclipse, do the following to increase the heap size available for it:
1. Click on 'Run' and 'Open Debug Dialog'
2. Click on 'JUnit' on the left pane of the window
3. Enter a name for the JUnit test
4. Fill up all the relevant details in the 'Test' tab
5. Click on the 'Arguments' tab
6. In 'VM arguments', type the following:
-Xmx1024M
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thank you for your comment.