<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: nuxeo 5.7 compilation error in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316954#M3955</link>
    <description>&lt;P&gt;but it is strange the following command is working properly&lt;/P&gt;</description>
    <pubDate>Sun, 30 Jun 2013 12:32:32 GMT</pubDate>
    <dc:creator>adam_bo_</dc:creator>
    <dc:date>2013-06-30T12:32:32Z</dc:date>
    <item>
      <title>nuxeo 5.7 compilation error</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316953#M3954</link>
      <description>&lt;P&gt;When I run the command: mvn -DskipTests install -Paddons
I get an error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[INFO] Compiling 1 source file to D:\n57\n\nuxeo-features\nuxeo-platform-annotations\nuxeo-platform-annotations-web\target\test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:


The system is out of resources.
Consult the following stack trace for details.
java.lang.StackOverflowError
at com.sun.tools.javac.comp.Attr.litType(Attr.java:2855)
at com.sun.tools.javac.comp.Attr.visitLiteral(Attr.java:2848)
at com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:1730)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
at com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:504)
at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1506)
at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1321)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:2238)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I am using java 1.7.0.25 and settings "-Xms1g -Xmx1g -XX:MaxPermSize=256m"
What should I change to eliminate the error ?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2013 08:54:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316953#M3954</guid>
      <dc:creator>adam_bo_</dc:creator>
      <dc:date>2013-06-29T08:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: nuxeo 5.7 compilation error</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316954#M3955</link>
      <description>&lt;P&gt;but it is strange the following command is working properly&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jun 2013 12:32:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316954#M3955</guid>
      <dc:creator>adam_bo_</dc:creator>
      <dc:date>2013-06-30T12:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: nuxeo 5.7 compilation error</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316955#M3956</link>
      <description>&lt;P&gt;Normal, eclipse plugin computation is lighter than install that compile, package and install projects.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 10:01:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316955#M3956</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2013-07-01T10:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: nuxeo 5.7 compilation error</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316956#M3957</link>
      <description>&lt;P&gt;Don't you have the full stack trace?&lt;/P&gt;
&lt;P&gt;On Windows, it's easy to come out of resources since there are requirements for contiguous memory. You may try to compile right after boot, before running any other application which would fragment the memory.&lt;/P&gt;
&lt;P&gt;The java.lang.StackOverflowError issue is often due to a thread stack size being greater than the JVM limit. Try to increase it with "&lt;CODE&gt;-Xss&lt;/CODE&gt;" JVM option ("&lt;CODE&gt;MAVEN_OPTS=-Xss1280k -Xmx...&lt;/CODE&gt;").&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.oracle.com/technetwork/java/hotspotfaq-138619.html" target="test_blank"&gt;http://www.oracle.com/technetwork/java/hotspotfaq-138619.html&lt;/A&gt; states:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;In Java SE 6, the default on Sparc is 512k in the 32-bit VM, and 1024k in the 64-bit VM. On x86 Solaris/Linux it is 320k in the 32-bit VM and 1024k in the 64-bit VM.&lt;/P&gt;
&lt;P&gt;On Windows, the default thread stack
size is read from the binary
(java.exe). As of Java SE 6, this
value is 320k in the 32-bit VM and
1024k in the 64-bit VM.&lt;/P&gt;
&lt;P&gt;You can reduce your stack size by
running with the -Xss option. For
example:&lt;/P&gt;
&lt;P&gt;java -server -Xss64k&lt;/P&gt;
&lt;P&gt;Note that on some versions of Windows,
the OS may round up thread stack sizes
using very coarse granularity. If the
requested size is less than the
default size by 1K or more, the stack
size is rounded up to the default;
otherwise, the stack size is rounded
up to a multiple of 1 MB.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 01 Jul 2013 12:29:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316956#M3957</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2013-07-01T12:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: nuxeo 5.7 compilation error</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316957#M3958</link>
      <description>&lt;P&gt;Yes, I have also tried -XX&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 13:11:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316957#M3958</guid>
      <dc:creator>adam_bo_</dc:creator>
      <dc:date>2013-07-01T13:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: nuxeo 5.7 compilation error</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316958#M3959</link>
      <description>&lt;P&gt;Yes, it was this case.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 07:58:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-5-7-compilation-error/m-p/316958#M3959</guid>
      <dc:creator>adam_bo_</dc:creator>
      <dc:date>2013-07-02T07:58:10Z</dc:date>
    </item>
  </channel>
</rss>

