What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi everyone. My team is working on updating our version of Spryker to the latest release. We've enco
Hi everyone. My team is working on updating our version of Spryker to the latest release. We've encountered some issues specifically with the FE build tools.
First: We encountered an issue with memory when using npm run yves:watch
, on file change we see:
Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
We've tried to address this by upgrading Node to 12.12.0 though Spryker does not seem to be compatible with this version. Has anyone else encountered the issue?
Second: The first build from npm run yves:watch
succeeds but is very slow and takes many minutes. The webpack config seems to separate tasks now for each store; our site has 6+ stores configured and this makes this impractical for development. Does anyone have a fix for this slowness or recommendations for us to try?
Comments
-
salut
0 -
since when are you back at inviqa? π
0 -
do you run inside or outside of your dev environment?
0 -
like docker/vagrant or locally?
0 -
is it a dev system problem or also stage/prod?
0 -
Ohai! A year and a half now. It's as if I never left. π (Surprised you remember me!)
0 -
We have a Docker set up locally and we're running the yves tasks within the container.
0 -
We've only tried this locally β it's the last piece of the puzzle before we can get this upgrade merged in and tested on a staging env.
0 -
π€
0 -
as for the performance you probably have more clue about npm than i have
0 -
the watch you probably only run on your dev environments anyway
0 -
but we can not assume that everyone has the tools (in the required version) on their host machines, right?
0 -
generally the recommendations was to run it outside of the vm/container, if possible
0 -
This was one of the reasons we opted to run it in the container: a known environment with all the required dependencies. The other reason was issues with caching.
0 -
When this release was being tested, were there sites with multiple stores to test against?
0 -
i hope so π
0 -
is it the spryker docker env or a custom one?
0 -
what do you use for syncing?
0 -
how much memory and cpu cores are available for docker?
0 -
so many questions π
0 -
Pulling @UKEP86J66 to advise on some of the env questions I'll just need to ask him anyway. π
0 -
I don't think it is an issue of resourcing.
0 -
Docker env: 6 CPUs / 6 GB memory.
0 -
Before the upgrade it was fine, so we want to understand what is consuming the extra resource.
0 -
As our shop has many stores, we suspect that is a factor
0 -
well, this would of course be a factor, but does it impact to that extend is the question π€
0 -
do you have numbers for comparison?
0 -
Hi! I'll be returning to this issue this afternoon and will see if I can get some numbers. π
0 -
This afternoon has turned into tomorrow. I'll be in touch.
0 -
no sweat π
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 921 Developer Corner
- 781 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random