Bug 296474 - Palapeli uses large amounts of memory
Summary: Palapeli uses large amounts of memory
Status: RESOLVED FIXED
Alias: None
Product: palapeli
Classification: Applications
Component: general (show other bugs)
Version: 1.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Majewsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 02:10 UTC by JKAbrams
Modified: 2021-03-10 00:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JKAbrams 2012-03-21 02:10:57 UTC
Palapeli uses large amounts of memory.
Some examples:
image: 16105 x 3198px 8 662 KiB, pieces: 819, memory: 2 273 304 KiB 
image: 7200 x 4050px 7 831 KiB, pieces: 1000, memory:  1 533 672 KiB 
image: 11232 x 7488px 4974 KiB, pieces: 2000, memory: >2,7 GiB (out of memory)

Reproducable: Always

Notes (if applicable):
-64 bit
-nVidia graphics driver 295.20
-I don't have a swap partition
Comment 1 Stefan Majewsky 2012-03-26 21:47:24 UTC
Yes, Palapeli does not use graphics card acceleration at all. All pixmaps on the screen are pre-rendered at load-time and reside in memory. You can cut down on memory usage drastically by disabling the graphical effects (drop-down shadow and 3D bevels) in the configuration dialog. This should reduce memory usage by at least 50%.

The proper fix of course is to use OpenGL instead of simple pixmap-blitting. This is perhaps going to be feasible with Qt 5's SceneGraph framework. For the time being, you'll have to live with the aforementioned workaround.
Comment 2 Justin Zobel 2021-03-09 23:51:12 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 3 Ian Wadham 2021-03-10 00:32:26 UTC
No longer a problem AFAIK, but PC memories are bigger nowadays.