[frameworks-kcompletion] [Bug 345860] KZoneAllocator eats up too much memory on Windows
Kevin Funk
kfunk at kde.org
Mon Aug 24 12:37:34 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=345860
Kevin Funk <kfunk at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|CONFIRMED |RESOLVED
Latest Commit| |http://commits.kde.org/kcom
| |pletion/05167e5bf563f3b9b24
| |65e9da2ecf1e4a86a0d4d
--- Comment #6 from Kevin Funk <kfunk at kde.org> ---
Git commit 05167e5bf563f3b9b2465e9da2ecf1e4a86a0d4d by Kevin Funk.
Committed on 24/08/2015 at 12:37.
Pushed by kfunk into branch 'master'.
Fix bad behavior / running OOM on Windows
When testing KDevelop on Windows we sometimes experienced excessive use
of memory (> 2 gigs of RAM allocated). This patch appears to fix the
issue.
Compiler warnings didn't sound promising either:
Z:\kderoot\download\git\kcompletion\src\kzoneallocator.cpp(129):
warning C4319: '~': zero extending 'unsigned long' to 'quintptr' of greater
size
Z:\kderoot\download\git\kcompletion\src\kzoneallocator.cpp(206):
warning C4319: '~': zero extending 'unsigned long' to 'quintptr' of greater
size
Z:\kderoot\download\git\kcompletion\src\kzoneallocator.cpp(256):
warning C4267: '+=': conversion from 'size_t' to 'unsigned long', possible loss
of data
REVIEW: 124896
M +3 -3 src/kzoneallocator.cpp
http://commits.kde.org/kcompletion/05167e5bf563f3b9b2465e9da2ecf1e4a86a0d4d
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kde-windows
mailing list