Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Speicher- und vCPU-Limits konfigurieren (1. Generation)
Sie können Cloud Run Functions-Funktionen mit verschiedenen Speichermengen bereitstellen, um das Limit für die Speicherkapazität einer Funktion zu steuern. Die von Ihnen ausgewählte Größe des zugewiesenen Speichers entspricht einer Menge an zugewiesener CPU für Ihre Funktion:
Die verfügbaren Arbeitsspeicher- und CPU-Stufen sind in der folgenden Tabelle aufgeführt:
Arbeitsspeicher
CPU
128 MB
.083 vCPU
256 MB
.167 vCPU
512 MB
.333 vCPU
1.024 MB
.583 vCPU
2.048 MB
1 vCPU
4.096 MB
2 vCPU
8192MB
2 vCPU
Nicht verfügbar
4 vCPU
Nicht verfügbar
8 vCPU
Standardmäßig beträgt der einer Funktion zugewiesene Arbeitsspeicher je nach Cloud Run Functions-Produktversion 256 MB oder 256 MiB.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-04-10 (UTC)."],[[["Cloud Run functions can be provisioned with varying memory amounts, which directly correlates to the allocated CPU for the function."],["The memory and CPU tiers available range from 128MB with .083 vCPU to 8192MB with 2 vCPU, as outlined in the provided table."],["By default, a function is allocated 256MB of memory, however, this can be changed."],["You can adjust the allocated memory for a function during deployment using the `--memory` flag in the gcloud CLI or through the \"Memory allocated\" field in the Google Cloud console."],["Memory and CPU allocations impact the costs associated with running Cloud Run functions, detailed information regarding pricing can be found on the Cloud Run functions Pricing page."]]],[]]