Red Hat Bugzilla – Bug 207006
jasper: Memory Leak
Last modified: 2007-11-30 17:11:43 EST
Description of problem:
there's a significant memory leak in the jasper library.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run an application that uses the jasper library
2. See the size of the application continue to increase over time
3. Check google and see that the mem-leak patches haven't been applied.
My application (gyachi in this case) keeps increasing in size when I
send/receive webcam streams. If it's just sitting there doing nothing then it
doesn't do anything.
Application memory use should stabilize, not constantantly increase.
See the attached patch for the correction.
Created attachment 136569 [details]
Patch to fix memory leak
This bit of the patch doesn't seem related to a memory leak:
(though it's probably better security-wise)
This looks more relevant:
> 3. Check google and see that the mem-leak patches haven't been applied.
Please, specific references (I can't find anything immediately searching on
"jasper memory leak" or "jasper mem-leak patches"
Two references to the memory leak:
http://ayttm.sourceforge.net/files.shtml (where I got the patch)
http://gyachi.sourceforge.net/download.shtml (page down to JasPer)
Unfortunately the SRPM link on the second page doesn't work anymore so I
couldn't pull that patch.
* Mon Sep 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-14
- memory leak (#207006)
build only for devel/fc6 branch, for now. Pending peer/upstream review of
patch, patched builds will be issued for all other branches.