2 thoughts on “Avoiding OutOfMemory errors in Maven

  1. Good tip. I find I usually get out of memory errors, when I am running tests or compiling in Maven. I usually fork junit to avoid the problem.

  2. Excellent tip. I got this error while building a war file with several large images (jpegs) in it.
    This tip solved it – I know of no other solution.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s