|
|
@ -40,7 +40,8 @@ memInfoPrint(CurModule, CurLine, Threshold) -> |
|
|
|
_ -> |
|
|
|
ignore |
|
|
|
end |
|
|
|
end. |
|
|
|
end, |
|
|
|
gc(). |
|
|
|
|
|
|
|
get_test() -> |
|
|
|
#{'$map_tab' => tb_client, black_hole => 6, bomb_drill => 7, cat_coin => 680, |
|
|
@ -335,7 +336,8 @@ get_test2() -> |
|
|
|
}. |
|
|
|
|
|
|
|
gc() -> |
|
|
|
lists:foreach(fun(Pid) -> erlang:garbage_collect(Pid) end, erlang:processes()). |
|
|
|
lists:foreach(fun(Pid) -> erlang:garbage_collect(Pid) end, erlang:processes()), |
|
|
|
erlang:garbage_collect(). |
|
|
|
|
|
|
|
tt_w1(Term) -> |
|
|
|
?MEM_INFO_INIT(), |
|
|
|