M module-apps/application-special-input/ApplicationSpecialInput.cpp => module-apps/application-special-input/ApplicationSpecialInput.cpp +2 -2
@@ 1,4 1,4 @@
-// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
+// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "ApplicationSpecialInput.hpp"
@@ 9,7 9,7 @@ using namespace app;
namespace
{
- constexpr auto SpecialInputAppStackDepth = 2200;
+ constexpr auto SpecialInputAppStackDepth = 512 * 5;
} // namespace
ApplicationSpecialInput::ApplicationSpecialInput(std::string name,
M module-services/service-appmgr/model/ApplicationManagerCommon.cpp => module-services/service-appmgr/model/ApplicationManagerCommon.cpp +1 -1
@@ 34,7 34,7 @@ namespace app::manager
{
namespace
{
- constexpr auto ApplicationManagerStackDepth = 3072;
+ constexpr auto ApplicationManagerStackDepth = 1024 * 4;
bool checkIfCloseableAction(const actions::Action action)
{
M module-services/service-fileindexer/ServiceFileIndexer.cpp => module-services/service-fileindexer/ServiceFileIndexer.cpp +2 -1
@@ 14,13 14,14 @@ namespace
{
return purefs::createPath(purefs::dir::getUserDiskPath(), "music").string();
}
+ inline constexpr auto fileIndexerServiceStackSize = 1024 * 5;
} // namespace
namespace service
{
ServiceFileIndexer::ServiceFileIndexer(const std::vector<std::string> &paths)
- : sys::Service{service::name::file_indexer}, mStartupIndexer{paths}
+ : sys::Service{service::name::file_indexer, "", fileIndexerServiceStackSize}, mStartupIndexer{paths}
{
LOG_DEBUG("[%s] Initializing", service::name::file_indexer);
}