Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutOfMemoryError #347

Open
puntogil opened this issue Jul 12, 2016 · 0 comments
Open

OutOfMemoryError #347

puntogil opened this issue Jul 12, 2016 · 0 comments

Comments

@puntogil
Copy link

hi
i get:

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building less4j 1.17.2
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- antlr3-maven-plugin:3.5.2:antlr (run antlr) @ less4j ---
[INFO] ANTLR: Processing source directory ~/rpmbuild/BUILD/less4j-less4j-1.17.2/src/main/antlr3
ANTLR Parser Generator  Version 3.5.2
Output file ~/rpmbuild/BUILD/less4j-less4j-1.17.2/target/generated-sources/antlr3/com/github/sommeri/less4j/core/parser/LessParser.java does not exist: must build ~/rpmbuild/BUILD/less4j-less4j-1.17.2/src/main/antlr3/com/github/sommeri/less4j/core/parser/Less.g
com/github/sommeri/less4j/core/parser/Less.g
warning(200): com/github/sommeri/less4j/core/parser/Less.g:1531:19: 
Decision can match input such as "{NEW_LINE, WS}" using multiple alternatives: 1, 2

As a result, alternative(s) 2 were disabled for that input
warning(200): com/github/sommeri/less4j/core/parser/Less.g:1532:29: 
Decision can match input such as "{NEW_LINE, WS}" using multiple alternatives: 1, 2

As a result, alternative(s) 2 were disabled for that input
[INFO] 
[INFO] --- build-helper-maven-plugin:1.9.1:add-source (add-source) @ less4j ---
[INFO] Source directory: ~/rpmbuild/BUILD/less4j-less4j-1.17.2/target/generated-sources/antlr3 added.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ less4j ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ less4j ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 292 source files to ~/rpmbuild/BUILD/less4j-less4j-1.17.2/target/classes


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
        at java.nio.HeapCharBuffer.<init>(HeapCharBuffer.java:57)
        at java.nio.CharBuffer.allocate(CharBuffer.java:335)
        at com.sun.tools.javac.util.BaseFileManager.decode(BaseFileManager.java:221)
        at com.sun.tools.javac.file.RegularFileObject.getCharContent(RegularFileObject.java:117)
        at com.sun.tools.javac.file.RegularFileObject.getCharContent(RegularFileObject.java:53)
        at com.sun.tools.javac.main.JavaCompiler.readSource(JavaCompiler.java:602)
        at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:665)
        at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:950)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:857)
        at com.sun.tools.javac.main.Main.compile(Main.java:523)
        at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
        at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
        at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:125)
        at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:170)
        at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:825)
        at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] An unknown compilation problem occurred
[INFO] 1 error

any ideas?
thanks in advance

Environment:

pache Maven 3.3.3 (NON-CANONICAL_2015-07-10T12:37:52_mockbuild; 2015-07-10T14:37:52+02:00)
Maven home: /usr/share/maven
Java version: 1.8.0_92, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.92-4.b14.fc23.i386/jre
Default locale: it_IT, platform encoding: UTF-8
OS name: "linux", version: "4.5.7-202.fc23.i686", arch: "i386", family: "unix"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant