Skip to content

Conversation

@thalesmg
Copy link
Contributor

No description provided.

t_low_mem_opts(Config) ->
Port = ?config(port, Config),
{ok, C} = emqtt:start_link([{port, Port}, {low_mem, true}]),
%% TODO: check min_heap_size, min_bin_vheap_size
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason, those values are not set to 16. Maybe it overrides to an internal minimum value.

Failure/Error: ?assertEqual([], process_info ( C , [ min_heap_size , min_bin_vheap_size , fullsweep_after ] ))
  expected: []
       got: [{min_heap_size,233},
             {min_bin_vheap_size,46422},
             {fullsweep_after,1000}]
      line: 455

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants