Welcome to the new Linux Foundation Forum!

LAB 4: Is to push APP with 512M of memory but that doesn't work

hkonkihkonki Posts: 2
edited March 27 in LFD232 Class Forum

LAB 4: Is to push APP with 512M of memory but that doesn't work for me. Even in video, he used 750M. When we get this issue in exam what's the best way push app with the requested memory.

For sure we can push by increasing memory but I'm assuming it will wrong. 

1) Is this happening only for Java apps?

2) In the same lab, as is to use Java build pack.

-> cf psuh ... -b java_buildpack

-> cf psuh... -b https://github.com/cloudfoundry/java-buildpack.git#v4.0

-> cf push ...-b 'java_buildpack'

 

I just would like to know if there is any difference between above three?

 

 

 

 

Comments

  • Pete-LetkemanPete-Letkeman Posts: 14
    edited March 29

    You may or may not be on the correct path with changing the allocated resources. I beleive that part of this course is going beyond the material and doing some extra trouble shooting when needed. Different apps created in the same language will have different resource needs. Meaning Java app A may need different resources then Java app B.

  • ShobhitGargShobhitGarg Posts: 2
    edited June 25

    hi. we were supposed to push the app with specified memory but the app ended up not starting because of similar memory errors . I reckon by increasing the memory app would have worked ..any clue how this needs to be addressed ..?

  • antonio.meleantonio.mele Posts: 2
    edited October 24

    @hkonki said:
    LAB 4: Is to push APP with 512M of memory but that doesn't work for me. Even in video, he used 750M. When we get this issue in exam what's the best way push app with the requested memory.

    For sure we can push by increasing memory but I'm assuming it will wrong. 

    1) Is this happening only for Java apps?

    2) In the same lab, as is to use Java build pack.

    -> cf psuh ... -b java_buildpack

    -> cf psuh... -b https://github.com/cloudfoundry/java-buildpack.git#v4.0

    -> cf push ...-b 'java_buildpack'

     

    I just would like to know if there is any difference between above three?

     

     

     

     

    Hi,
    I am also taking this course, what video do you refer on? Is there other resource that we can access?

    Thank you

  • @antonio.mele said:

    @hkonki said:
    LAB 4: Is to push APP with 512M of memory but that doesn't work for me. Even in video, he used 750M. When we get this issue in exam what's the best way push app with the requested memory.

    For sure we can push by increasing memory but I'm assuming it will wrong. 

    1) Is this happening only for Java apps?

    2) In the same lab, as is to use Java build pack.

    -> cf psuh ... -b java_buildpack

    -> cf psuh... -b https://github.com/cloudfoundry/java-buildpack.git#v4.0

    -> cf push ...-b 'java_buildpack'

     

    I just would like to know if there is any difference between above three?

     

     

     

     

    Hi,
    I am also taking this course, what video do you refer on? Is there other resource that we can access?

    Thank you

    Sorry, I found it in the next slide. Thanks

Sign In or Register to comment.