Skip to content

Instantly share code, notes, and snippets.

@jebu
Created October 31, 2010 08:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jebu/656327 to your computer and use it in GitHub Desktop.
Save jebu/656327 to your computer and use it in GitHub Desktop.
handle_event({set_alarm, {process_memory_high_watermark, Pid}}, State) ->
error_logger:info_msg("*** Process high mark reached ~p ~n", [Pid]),
error_logger:info_msg("*** Backtrace - ~p ~n ", [erlang:process_info(Pid, backtrace)]),
error_logger:info_msg("*** Process info ~p ~n", [erlang:process_info(Pid)]),
{ok, State};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment