Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disk Quota Exceeded #123

Open
schlingding opened this issue Dec 3, 2019 · 4 comments
Open

Disk Quota Exceeded #123

schlingding opened this issue Dec 3, 2019 · 4 comments

Comments

@schlingding
Copy link

schlingding commented Dec 3, 2019

18.04 runs into Disk Quota Exceeded errors during Copying binaries to 'bin' phase.

Tried raising disk space with no change.

Using:
buildpack: https://github.com/IBM-Swift/swift-buildpack#2.2.0
stack: cflinuxfs3

Dependencies example which can cause this issue:
dependencies: [
.package(url: "https://github.com/IBM-Swift/Kitura.git", .upToNextMinor(from: "2.8.1")),
.package(url: "https://github.com/IBM-Swift/HeliumLogger.git", .upToNextMajor(from: "1.9.0")),
.package(url: "https://github.com/IBM-Swift/CloudEnvironment.git", .upToNextMajor(from: "9.1.0")),
.package(url: "https://github.com/IBM-Swift/Health.git", .upToNextMajor(from: "1.0.5")),
.package(url: "https://github.com/IBM-Swift/SwiftyRequest.git", .upToNextMajor(from: "3.0.0")),
.package(url: "https://github.com/IBM-Swift/Kitura-OpenAPI.git", from: "1.3.0"),
.package(url: "https://github.com/RuntimeTools/SwiftMetrics.git", .upToNextMajor(from: "2.6.4")),
.package(url: "https://github.com/ianpartridge/swift-backtrace", .upToNextMajor(from: "1.1.1"))
]

@mbarnach
Copy link

I have the same issue with similar dependencies. I've tried to remove as much as possible, but I think the problem is related to the inclusion of SwiftyRequest. Nevertheless, when I compile on my machine, the size is ~640MB, so quite far from the 2GB I allocate. Any workaround that?

@2meeltd
Copy link

2meeltd commented Mar 28, 2020

Had same problem. Tried get-started-app on cloud foundry. In the manifest they have added at end

env:
SWIFT_BUILD_DIR_CACHE: false

This solved my problem. Still a bit worrying as support was saying the will not increase the 2GB limit.

@mbarnach
Copy link

In my case, it didn't solved the problem unfortunately. My current work-around is to use a Docker image, and push the image. Not ideal, but it does the job so far.

@AlexChekanov
Copy link

Have anyone found a solution?

SWIFT_BUILD_DIR_CACHE: false doesn't help, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants