Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] CodeSearch Incubator - Progress

Hi Kavith,

> Sorry for the mistake. Just had a look at the console I ran the mvn
> clean install on o.e.r repository. Something have gone wrong with
> memory. It was running for about 10 mins and at the time I saw the
> console stopped, I thought it was finished. :)
> 
> [INFO] --- xtend-maven-plugin:2.4.2:compile (compile) @
> org.eclipse.recommender
> .completion.rcp.tests ---
> [ERROR] PermGen space -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e swi
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please re
> d the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
> 
> I will increase the memory allocated for maven and run the build again.

yes, the Xtend compiler needs lots of memory in the so-called permanent
generation as it loads lots of classes by reflection, which are kept in
that generation.

A 'export MAVEN_OPTS="-XX:MaxPermSize=128m"' should do the trick before
running Maven.

> Anyway what are the consequence of repeating the operation as you have
> highlighted the word *once*?

There's no problem with building o.e.r multiple times -- it's simply
unnecessary, as the o.e.r parent POMs are cached in your local repository.

Hope that explains things.

Andreas

-- 
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top