Skip to content

A problem with make compile. #2

@cad106uk

Description

@cad106uk

Hello,

Thank you for making this repo for the tutorial.

I am getting an error when running the make compile command. It looks like I am running out of memory on my 8Gb laptop. Do you have any idea on what is happening here.

Thank you

on the command line I get

~/Documents/lfe/mnesia-tutorial $ make compile
Getting dependencies ...
/bin/sh: line 1: 5761 Aborted (core dumped) rebar get-deps >> install.log 2>&1
Makefile:28: recipe for target 'get-deps' failed
make: *** [get-deps] Error 134
~/Documents/lfe/mnesia-tutorial $ make compile
Getting dependencies ...
/bin/sh: line 1: 6370 Aborted (core dumped) rebar get-deps >> install.log 2>&1
Makefile:28: recipe for target 'get-deps' failed
make: *** [get-deps] Error 134

the install.log contains.
==> lfe (get-deps)
^M
Crash dump was written to: erl_crash.dump^M
eheap_alloc: Cannot allocate 6801972448 bytes of memory (of type "heap", thread 1).^M
==> lfe (get-deps)
^M
Crash dump was written to: erl_crash.dump^M
eheap_alloc: Cannot allocate 8162366936 bytes of memory (of type "old_heap", thread 2).^M

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