Fixed memory problem on large mqtt messages when installing apps