Skip to content

Conversation

DorianBDev
Copy link
Member

Description

Try to fix current limitations of the multi-threading system of the attached project type. The idea is to have a new cache system that can cancel no-longer-needed tiles being loaded (which, if working on a huge image, can make exhaust the thread pool and crash/freeze Degate).

Affected area(s)

  • Core
  • GUI
  • Tests

Changes type

  • Bug fix
  • Migration
  • New feature
  • Feature rework

Proposed changes

  • Rework the multi-threading system of the attached project type.

@DorianBDev DorianBDev added bug Something isn't working enhancement New feature or request labels Nov 8, 2023
@DorianBDev DorianBDev self-assigned this Nov 8, 2023
@DorianBDev DorianBDev linked an issue Nov 8, 2023 that may be closed by this pull request
@DorianBDev DorianBDev changed the title Added compile commands export to support cland. Added compile commands export to support clangd. Feb 27, 2024
This solve an issue where Degate were crashing or freezing
when loading many tiles. Since there was no limit on
thread creation, this would end in too many created thread
and make the application unresponsive. The available
thread number is configurable directly in the preferences.
@DorianBDev DorianBDev changed the title Added compile commands export to support clangd. [Attached feature] Crash when handling large images Aug 20, 2024
@DorianBDev DorianBDev merged commit 57ebe44 into develop Aug 20, 2024
7 checks passed
@DorianBDev DorianBDev deleted the 24-crash-when-handling-large-images branch August 20, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Attached feature] Crash when handling large images (beta)
1 participant