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 8876333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:11:23+00:00 2026-06-14T19:11:23+00:00

I am trying to run a Grails app at cloudfoundry.com, but it is returning

  • 0

I am trying to run a Grails app at cloudfoundry.com, but it is returning a 502 Bad Gateway and then a 404 Not Found. I located logs/err.log, and it says:

# Logfile created on 2012-11-22 17:39:55 +0000 by logger.rb/25413
F, [2012-11-22T17:39:55.488036 #10723] FATAL -- : Memory limit of 512M exceeded.
F, [2012-11-22T17:39:55.488101 #10723] FATAL -- : Actual usage was 516M, process terminated.

Prior to this, I was getting PermGen space errors, so I added this to the environment:

+-----------+----------------------------------------+
| Variable  | Value                                  |
+-----------+----------------------------------------+
| JAVA_OPTS | -XX:MaxPermSize=512m -Xms512M -Xmx512M |
+-----------+----------------------------------------+

What options do I have? Can I make any tweaks to try to fit my app into 512M? If I reduce MaxPermSize, would that give my app more space? Is there any way to determine exactly what size Perm space is needed?

Or have I simply outgrown CloudFoundry? Is there any way (including by paying) to get a bigger VM at CloudFoundry? Or do I have to move to a different service entirely?

  • 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-06-14T19:11:24+00:00Added an answer on June 14, 2026 at 7:11 pm

    You just need to change the amount of resource assigned to the application. You can do this with VMC, for example, to change the memory allocation for an application called my app to 1GB;

    vmc mem myapp 1G
    

    Keep in mind that your account had a maximum of 2G for all your applications.

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

Sidebar

Related Questions

I am trying to run grails on google app engine using JDO, but I
I'm new to Grails (but not to Groovy or web development). I'm trying to
I'm currently seeing the warnings below when trying to run my Google App Engine/Grails
I am trying to run some unit tests for my grails app, via grails
I'm running into the following problem when trying to run an app wiht grails
Situation: I'm trying run an https store (xcart) under one domain secure.example.com and I
Trying to run a self-hosted app on my Win 7 system, with little success.
Trying to run Jison unit tests, but the command fails. How do I fix
All, I am trying to test my grails app using Hudson. I have in
I get a run time error when trying to run a grails application on

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.