MerginMaps/mobile

Review and Optimize WFS Layers Handling for iOS Devices

Closed this issue · 0 comments

Handling WFS layers on iOS devices causes significant stress, leading to high CPU and memory usage, unpredictable crashes, and noticeable lag in the project. This issue is not present in projects without WFS layers. Switching between projects with WFS layers accentuates the problem. This behavior is not observed on Android devices.

Related logs:

processEvents() flags QFlags<QEventLoop::ProcessEventsFlag>(ExcludeUserInputEvents|WaitForMoreEvents|EventLoopExec) not supported on iOS

processEvents() flags QFlags<QEventLoop::ProcessEventsFlag>(ExcludeUserInputEvents|WaitForMoreEvents|EventLoopExec) not supported on iOS

interruptionHandler is called. -[FontServicesDaemonManager connection]_block_invoke

The app “Input” has been killed by the operating system because it is using too much memory.
Domain: IDEDebugSessionErrorDomain
Code: 11
Recovery Suggestion: Use a memory profiling tool to track the process memory usage.
User Info: {
    DVTErrorCreationDateKey = "2024-08-05 13:48:12 +0000";
    IDERunOperationFailingWorker = DBGLLDBLauncher;
}

Further context: #1959 and #2493