tag:blogger.com,1999:blog-6214277125099466960.post7668267457387337639..comments2023-03-22T11:04:41.078-04:00Comments on in the midst of modern: On OutOfMemoryErrors In JUnit TestsJustin Mirandahttp://www.blogger.com/profile/12794947822953373298noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6214277125099466960.post-57225354888517861962012-07-23T13:17:39.502-04:002012-07-23T13:17:39.502-04:00Thanks for your comment, Mike (sorry for the delay...Thanks for your comment, Mike (sorry for the delay in publishing it).Justin Mirandahttps://www.blogger.com/profile/12794947822953373298noreply@blogger.comtag:blogger.com,1999:blog-6214277125099466960.post-16897233096705720722012-03-19T09:07:43.551-04:002012-03-19T09:07:43.551-04:00I ran into the same issue recently. Here's ano...I ran into the same issue recently. Here's another option that does basically the same thing but a little quicker.<br /><br />In window preferences, go to Java -> Installed JREs. Choose your default and duplicate it. Click on the duplicate, give it a name of "JRE for Junit" and set the memory settings on the Default VM Arguments.<br /><br />Now, next time you run a JUnit, choose the new JRE. It saves a few key strokes instead of having to enter the JVM arguments every time, just choose the JRE from the choices presented in the debug configurations for JUnitAnonymoushttps://www.blogger.com/profile/16756667487909544468noreply@blogger.comtag:blogger.com,1999:blog-6214277125099466960.post-80255314737976523532011-12-07T01:55:45.050-05:002011-12-07T01:55:45.050-05:00Thanks !!! that was really helpfulThanks !!! that was really helpfulUnknownhttps://www.blogger.com/profile/09548190758180694779noreply@blogger.comtag:blogger.com,1999:blog-6214277125099466960.post-59431657918719231002009-01-14T18:49:00.000-05:002009-01-14T18:49:00.000-05:00Yeah, nice tip. I'm wondering if there is any way ...Yeah, nice tip. I'm wondering if there is any way to make this the default configuration when running all unit tests so I don't have to customize this for every Unit Test that I run in Eclipse.B-rizzlehttps://www.blogger.com/profile/16400731323776681791noreply@blogger.comtag:blogger.com,1999:blog-6214277125099466960.post-82503378842793813202008-07-15T23:53:00.000-04:002008-07-15T23:53:00.000-04:00Nice tip! Thanks for this blog. :-)Nice tip! Thanks for this blog. :-)Burkehttps://www.blogger.com/profile/11975703679040892322noreply@blogger.com