[error] (run-main-0) java.lang.OutOfMemoryError: GC overhead limit exceeded java.lang.OutOfMemoryError: GC overhead limit exceeded
The solution to the problem was to allocate more memory when I start SBT. To give SBT more RAM I first issue this command at the command line:
java -Dconfig.file=my_app.conf [the rest of your app parameters] -------------------------
In my case I read the Lightbend Config file like this in my Scala application:
I find Drupal 8 module management to be confusing, but one thing I’ve learned is that you can install and remove Drupal 8 modules with Composer at the command line.
Adding a Drupal 8 module with Composer
The short story is that to add a new module — such as the reCAPTCHA anti-spam module — you type this command at the command line (in the root directory of your Drupal 8 website) to install it:
Mac Terminal FAQ: How can I change the title on the Mac Terminal app from the Mac/Unix command line?
I've been working on a project where I have three Mac Terminal tabs open at one time, and I found it was much easier to work this way when I changed the title on each Terminal window. This helped me easily identify what I was doing in each Terminal window.
Changing the Mac Terminal title
The basic escape sequence you need to change the Terminal title from the command line is this:
Here’s a story about a command-line app named speed-test that gives you network speed information from the command line.
Ubuntu FAQ: How do I list all of the services on my Ubuntu 16.04 system from the Linux command line?
Answer: Use this command:
This is an excerpt from the Scala Cookbook (partially modified for the internet). This is Recipe 18.13, “Setting the SBT Log Level.”
You’re having a problem compiling, running, or packaging your project with SBT, and need to adjust the SBT logging level to debug the problem. (Or, you’re interested in learning about how SBT works.)
Set the SBT logging level in your build.sbt file with this setting:
Table of Contents
- The Teleport command
- Teleport command help
- For basic use, tp is just like cd
- Basic teleporting
- Listing your teleport history
- Teleport by number
- Bash completion with Teleport
- Teleport aliases
- Adding/creating a teleport alias
- Using a teleport alias
- Listing your teleport aliases
- Removing an alias
- Teleport command - summary
- Teleport command - download
Summary: By keeping a history of the directories you've visited, the Teleport command is an improvement on the Unix/Linux
cd command. By having a memory, Teleport lets you jump from one directory to any previously visited directory, easily.
January, 2015 Update: The Teleport command now supports Bash completion. For more details on this, see the Github INSTALL.md file.