GithubHelp home page GithubHelp logo

Comments (5)

richardxia avatar richardxia commented on June 2, 2024

Have you tried increasing the size of the perm gen space using extra command line flags to the JVM?

You may want to replace this line of the Makefile with:

SBT ?= java -XX:MaxPermSize=256M -jar $(rocketchip_dir)/sbt-launch.jar

Also, apparently Java 8 removed permanent generation, so you will never run out of PermGen space on Java 8.

from freedom.

gobs-code avatar gobs-code commented on June 2, 2024

@richardxia Thanks Richard,

Both add your code in common.mk and replace java7 with java 8 all work, but another question show again!
eof_error

from freedom.

richardxia avatar richardxia commented on June 2, 2024

It seems that you must be using a very old version of Scala that isn't properly parsing build.sbt. Apparently, three years ago, you needed to put blank lines between each line. Can you try upgrading Scala to 2.11.7 to match rocket-chip (but definitely not to 2.12)?

from freedom.

gobs-code avatar gobs-code commented on June 2, 2024

Hi,

my scala version is 2.11.7,so met that question! where can download old version of scala?

scala

from freedom.

richardxia avatar richardxia commented on June 2, 2024

I think that shows the version of Scala sbt will use to compile the project, but I don't think that is the version of Scala that is used to read in the sbt project files. Perhaps you could try installing Scala manually from the official website? https://www.scala-lang.org/download/2.11.7.html

from freedom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.