Skip to content

Error: malloc(): invalid size (unsorted) #1010

Open

Description

Error on npm run generate command. Error occurs in Docker, no error in dev mode. The error occurs on MacBook m1 pro, everything works fine in Ubuntu. I ran it in Ubuntu virtual machine with MacBook m1 pro, it says that the memory limit is exceeded. I tried it this way, I delete all images from the project and everything works, that is, the error is exactly in this plugin.

MacBook:
`
29.71 ✔ Generated static image dist/_nuxt/image/f26acf.webp
29.72 ✔ Generated static image dist/_nuxt/image/7215df.webp
29.72 ✔ Generated static image dist/_nuxt/image/b27296.webp
29.72 ✔ Generated static image dist/_nuxt/image/96f0ac.webp
29.73 ✔ Generated static image dist/_nuxt/image/9435f4.png
29.73 malloc(): invalid size (unsorted)
29.79 Aborted

dockerfile:26

24 |
25 | ## Render HTML site
26 | >>> RUN npm run generate
27 |
28 | FROM nginx:1.21.1-alpine
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions