Originally created by @dscyrescotti on GitHub (May 4, 2024).
Originally assigned to: @dscyrescotti on GitHub.
Description
After drawing multiple strokes, the memory usage surges significantly. This is a serious issue when drawing a long stroke at the minimal zoom level so that the number of vertices generated are exponential and they are occupied in memory. This is a call to research on how to optimize memory usage.
Originally created by @dscyrescotti on GitHub (May 4, 2024).
Originally assigned to: @dscyrescotti on GitHub.
### Description
After drawing multiple strokes, the memory usage surges significantly. This is a serious issue when drawing a long stroke at the minimal zoom level so that the number of vertices generated are exponential and they are occupied in memory. This is a call to research on how to optimize memory usage.
So far, the memory consumption is reduced by changes the canvas size to 4,000 pixels. However, the memory will increase when adding more and more strokes on the canvas.
@dscyrescotti commented on GitHub (May 6, 2024):
So far, the memory consumption is reduced by changes the canvas size to 4,000 pixels. However, the memory will increase when adding more and more strokes on the canvas.
So far, the memory is optimized by using core background context to interact with entities and loading vertices of strokes using kernel shader.
@dscyrescotti commented on GitHub (May 12, 2024):
So far, the memory is optimized by using core background context to interact with entities and loading vertices of strokes using kernel shader.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @dscyrescotti on GitHub (May 4, 2024).
Originally assigned to: @dscyrescotti on GitHub.
Description
After drawing multiple strokes, the memory usage surges significantly. This is a serious issue when drawing a long stroke at the minimal zoom level so that the number of vertices generated are exponential and they are occupied in memory. This is a call to research on how to optimize memory usage.
@dscyrescotti commented on GitHub (May 6, 2024):
So far, the memory consumption is reduced by changes the canvas size to 4,000 pixels. However, the memory will increase when adding more and more strokes on the canvas.
@dscyrescotti commented on GitHub (May 12, 2024):
So far, the memory is optimized by using core background context to interact with entities and loading vertices of strokes using kernel shader.