Comments (7)
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: http://www.pivotaltracker.com/story/show/64387618
from cli.
It appears that /v2/apps?async=true endpoint returns the out of memory error if the instance and memory information are not included on the call. I guess the cf gem is not calling this same endpoint.
from cli.
Hey Andy.
I don't think it was a change in the cli that triggered this behavior. I think it was a change in default memory allocation on run.pivotal.io. v5 wouldn't have this problem because they don't use server defaults, instead asking for memory interactively.
run.pivotal.io's default memory allocation changed to 1G a couple weeks back. My guess would be that you have quota available, but not quite 1G of quota.
Can you push an app with 1G of memory from v5?
from cli.
Aha. OK. Well, I don't have 1G now, because I pushed a bunch more apps grin.
So, if I don't specify a memory limit using v6, what will it ask the CC for by default? I guess that default value is busting the amount I do/did have. Generally I've been pushing small test apps in the 128 or 256M range lately, I should be able to fit a bunch of those in the space I still have available. Either way, it was a surprise. I realise that the validation that v6 does up front will change things as compared to the way v5 behaved with the interactive prompts...
from cli.
The CLI won't ask the CC. It will let the CC figure that out using the CC's own defaults, which means that the behavior differs by environment.
If you look at the trace you sent us, we're not POSTing any memory value. The CC fills in the blanks, here; on run.pivotal.io, they decided to go with 1G. Which, in combination with the default quota, busts the limit very quickly.
When I'm testing on run.pivotal.io, I push from a folder containing a manifest to ameliorate this issue.
Manifest.yml:
---
memory: 256M
This allows me to basically set my own default, and avoid having to -m
every time.
from cli.
ah I get you - my bad. Thanks.
from cli.
Probably good to close then, assuming that this gets picked up in docs / community evangelism explanations.... :-)
from cli.
Related Issues (20)
- CF CLI binaries unavailable HOT 22
- Cli fails to list repo plugins HOT 6
- cf share-service fails with exit code 1 if it is already shared HOT 2
- cf tasks should print the reason for FAILED tasks HOT 1
- Unmapping route: Something unexpected happened. HOT 3
- Typo in the V8 CLI Installation Guide wiki HOT 1
- Display service offerings metadata
- cf cli slow in large space due to page size of 50 when calling CF API
- 'cf a' should print out available information even if an app process was not found HOT 1
- service key as true JSON
- Publish json schema for cf manifest as to enable IDE coding assist features (completion, syntax validation, inline doc) HOT 1
- Update the cli libraries HOT 1
- Using `cf create-service` with v8 CLI does not consider current targeted space HOT 2
- Output CPU Entitlement metrics rather than the old CPU metric HOT 14
- cf restart [APP] --strategy rolling - getting timeout in spite CF_STARTUP_TIMEOUT env variable set to 15 minutes HOT 2
- `{{` in App Environment Variable values break the `cf env` command HOT 2
- CLI V8 fails to install with the official installation method for Debian and Fedora HOT 13
- CLI V8 fails to install on debian with official installation method HOT 1
- "--wait" option doesn't take effective when "cf update-service"
- More-inclusive name for command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.