Closed roman-1983 closed 11 months ago
You can set as env GOMAXPROCS=2
and try out it works? 🤔
How many PHP files does that plugin have?
I was just trying around and by raising the memory i got it working with this configuration:
definitions:
services:
docker:
memory: 3048
The plugin has 120 files.
In version 0.3.4 it worked with the default memory-settings in Bitbucket.
docker run --rm -v $(shell pwd):$(shell pwd) -w$(shell pwd) -eNODE_OPTIONS=--openssl-legacy-provider -e GOMAXPROCS=2 ghcr.io/friendsofshopware/shopware-cli:${SHOPWARE_CLI_TAG} extension validate $(shell pwd) --verbose
I have set the addition env-variable but it didn't help.
@shyim I could solve it by raising the memory for my pipeline. I don't know what exactly changed between 0.3.4 and 0.3.5 but that change is the reason that the memory-limit of bitbucket isn't enough anymore. 😅 Maybe there is any chance to limit the memory-consumption of shopware-cli?
Should be fixed with https://github.com/FriendsOfShopware/shopware-cli/actions/runs/6479259781
PHP Version
7.4
Shopware Version
6.4.20.2
Actual behaviour
I am running a bitbucket pipeline which runs the validation with tag
shopware-cli:latest-php-7.4
in a separate step. The step crashes with Exit-Code 137. When i am running0.3.4-php-7.4
it does not crash.Log:
Docker log:
Expected behaviour
It should not crash.
Steps to Reproduce?
It's not that easy as i cant reproduce it locally. It just crashes on Bitbucket Pipeline. Also i cant log the memory usage on my local machine :/