Summary: | Memory warning when an image is modified | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | Hikaru <hikaru.luce> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | finex, metellius, Tanktalus, wl-chmw |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Patch fixing the "Memory warning" problem for systems with more than 2GB RAM |
Description
Hikaru
2009-02-14 17:56:08 UTC
There is work going on about providing more precise cross-platform memory usage. Hopefully this will be fixed in Gwenview 2.3 (KDE4.3). This bug has been fixed on more recent versions. It is fixed on 4.2.95 windows version too. This bug does still occur in version 4.5.2. Is it possible, that Gwenview has problems, if you have more than 4GB RAM? (integer overflow?) I first experienced this, when I upgraded my system to 6 GB RAM and switched to a PAE-Kernel on a 32 bit system. Now I'm working with an 64 bit system and still see this problem. Greetings... Version: 2.5.2 DE: KDE 4.5.2 OS: Ubuntu 10.10 Same problem here, with 4.5.1. I have 8 gb of ram, and no swap space enabled at all. I see the warning message after rotating just a single image. Reopen? Created attachment 56758 [details]
Patch fixing the "Memory warning" problem for systems with more than 2GB RAM
Hi, there!
Today I had a look at the memory calculations in Gwenview and found, that they are done using type int, which overflows after 2GiB. I changed it to qulonglong (quint64), which is working fine for me.
The patch is against [svn-something]/tags/KDE/4.6.0/kdegraphics/
Greetings...
SVN commit 1218969 by gateau: Do not use int to hold memory count int overflows after 2GB. Patch from Wolfgang Lorenz, thanks! BUG:184323 M +2 -2 savebar.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1218969 SVN commit 1218970 by gateau: Do not use int to hold memory count int overflows after 2GB. Patch from Wolfgang Lorenz, thanks! CCBUG:184323 Backported to 4.6 branch. M +2 -2 savebar.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1218970 *** Bug 265799 has been marked as a duplicate of this bug. *** |