我在凤凰项目中,mix ecto.create
,mix ecto.migrate
和mix ecto.drop
都发出相同的错误:
$ mix ecto.drop
==> tzdata
Compiled lib/tzdata/parser_organizer.ex
Compiled lib/tzdata/release_parser.ex
Compiled lib/tzdata/util.ex
Compiled lib/tzdata/table_parser.ex
Compiled lib/tzdata/parser.ex
Compiled lib/tzdata/table_data.ex
Compiled lib/tzdata/leap_sec_parser.ex
Compiled lib/tzdata/basic_data.ex
Compiled lib/tzdata/period_builder.ex
Compiled lib/tzdata/far_future_dynamic_periods.ex
Crash dump is being written to: erl_crash.dump...*** stack smashing detected ***: /usr/lib/erlang/erts-7.0/bin/beam terminated
Aborted (core dumped)
答案 0 :(得分:3)
Virtualbox机器没有足够的内存。分配更多内存后,这个问题就消失了。