Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7679835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T17:58:17+00:00 2026-05-31T17:58:17+00:00

My system is Mint 12 64bit. I’ve installed the typesafe stack and created a

  • 0

My system is Mint 12 64bit.

I’ve installed the typesafe stack and created a new play application. Without modifying the code I’ve tried to run it. This is the output:

http://pastebin.com/6XwmsbAE

Play complains with this error message:

IOException: Cannot run program "javac": java.io.IOException: error=12, Cannot allocate memory 

How can I fix this ?

UPDATE:

@Mef

Ok you were definitely right. I’ve increased the initial RAM from 1 GB to 2 GB (running this on virtualbox). Compiling worked exactly once.

Unfortunately java has made up his mind that even 2 GB aren’t enough: Running eclipse and firefox my system uses 1 GB. Then I start sbt and the memory usage rises to about 1.2 GB. One might think that this is sufficient. It isn’t. Compilation fails with the same error although 800 MB are still available. Moreover after trying to compile the application the memory usage goes up to 1.6 GB. Strangely enough even while compiling the project it never reaches 2 GB but peaks at about 1.8 GB.

Nevertheless I’ve tried again and fed 3 gigs of RAM to the virtual machine. Now compiling and running the application works fine. As another miracle with 3 GB available the memory usage never rises above 1.6 GB and stays well below the maximum of 1.8 GB that I saw in the 2 GB iteration.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T17:58:18+00:00Added an answer on May 31, 2026 at 5:58 pm

    Since this is a general javac error, I doubt that it is Play related. Most likely you really ran out of memory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to create a new project with the Play! framework. My system is
System.IO.BinaryReader reads values in a little-endian format. I have a C# application connecting to
System.Environment.OSVersion does not appear to indicate which Edition of Windows 2003 is installed (Standard,
System.Timers.Timer timer = new System.Timers.Timer(); private void button1_Click(object sender, EventArgs e) { timer.Elapsed +=
Using Mono version 2.10.5, the following code fails on any XML document: using System;
System.out.println(new Date()); Thu Feb 23 04:57:57 ACT 2012 I am running it in a
System.IO.StreamReader sr = new System.IO.StreamReader(Server.MapPath(strheadlinesid1)); string line; while (sr.Peek() != -1) { line =
System.out.println(s.toString().substring(0,s.indexOf(.mp3))); i am downloading file from android application.. i need to name them as
System.out.println(Please enter the required word :); Scanner scan = new Scanner(System.in); String word =
System.Diagnostics.Process p = new System.Diagnostics.Process(); p.EnableRaisingEvents = false; p.StartInfo.FileName = calc; p.Start(); for exp.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.