How can the problem be fixed?

An e-commerce web site currently consists of a 2-tier web application (app server + DB) deployed on IBM Cloud: 1 webapp instance for the Java front-end and 1 Cloudant instance for the DB.

Immediately after deployment on Bluemix, the application fails to start. When reviewing the application logs the following excerpt is found:

App instance exited with guid 549fb650-8ded-43aa-b895-f230692be4b0 payload:

{… "index"=>0, "reason"=>"CRASHED", "exit_status"=>255,

"exit_description"=>"out of memory",…}

How can the problem be fixed?
A . It looks like an internal Bluemix problem, open a ticket with IBM Support so they can fix it for you.
B . Use the IBM Static Analyzer for Bluemix to run a static code analysis on the entire web application to
identify memory leaks.
C . Not enough memory is allocated to the application. Increase the memory either via the command line, in the manifest.yml file, or through the Bluemix console.
D . The application is overloaded with more requests than it can handle. Increase the number of instances
either via the command line, in the manifest.yml file or through the Bluemix console.

Answer: C

Explanation:

As the application fails to start the most likely cause of the problem is that the application does not have

enough memory.

Note: Receiving an OutOfMemoryError normally means one of two things:

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments