Skip to content

Version 7.0.1/8.0.0 can cause memory problems on Windows #192

Open
@harmboschloo

Description

@harmboschloo

I'm trying to upgrade elm-webpack-loader from 6.0.1 to 7.0.1.

But during compilation I get a bunch of lines like this (sorry it's in Dutch):

elm.exe: getMBlocks: VirtualAlloc MEM_COMMIT failed: Het wisselbestand is te klein voor het voltooien van deze bewerking.

It says the virtual memory is too small to complete the operation. I'm compiling 28 elm entry points files.

I increased my virtual memory which made the problem go away. But that doesn't seem like a desired solution for this problem.

I saw that the maxInstances option was removed in d4ec59a#diff-168726dbe96b3ce427e7fedce31bb0bcL157. So now all elm entry points are compiled in parallel. Maybe it's a good idea to revert that change and and prevent these kind of problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions