Code Monkey home page Code Monkey logo

Comments (5)

azymnis avatar azymnis commented on May 14, 2024

What version of sbt do you have? Also what jdk?

from scalding.

avibryant avatar avibryant commented on May 14, 2024

Java version is 1.6.0_29.
SBT version is 0.11.2.

If I get rid of src/tests, everything is fine, and I can run the tutorials etc.

It's worth pointing out that @snoble was having exactly the same
problem, not sure what versions of everything he's using.

On Sat, Jun 16, 2012 at 11:10 PM, Argyris Zymnis
[email protected]
wrote:

What version of sbt do you have? Also what jdk?


Reply to this email directly or view it on GitHub:
#101 (comment)

from scalding.

azymnis avatar azymnis commented on May 14, 2024

Instead of getting rid of src/test altogether, you can uncomment line 24 in build.sbt:

// test in assembly := {}

That lets you run assembly without running any tests.

from scalding.

azymnis avatar azymnis commented on May 14, 2024

Reproduced it on my personal laptop. Also found the fix, which is discussed here.

The solution is to add a XX:MaxPermSize parameter to sbt driver script. The sbt script should look like this:

#!/bin/sh
java -XX:MaxPermSize=256m -Xmx512m -jar /usr/share/sbt/sbt-launch.jar "$@"

This solved the OOM issue for me. Can you check if this works?

from scalding.

flavianv avatar flavianv commented on May 14, 2024

Can confirm it worked for me. Had the same issues, added the extra run parameter, and now sbt test finishes.

from scalding.

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.