Skip to content

Out of memory while generating a huge blog #1735

@ubenzer

Description

@ubenzer

I imported my Wordpress blog with ~750 posts to default setup of hexo. I got the following error:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

In file /Users/ub/.nvm/versions/node/v5.3.0/lib/node_modules/hexo-cli/bin/hexo changing #!/usr/bin/env node to #!/usr/bin/env node --max_old_space_size=8192 worked.

It would be great, if there is a way to give memory limit without editing the source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions