Export to GitHub

eee-osd - issue #4

Huge memory leak on ocd display


Posted on Feb 26, 2008 by Helpful Bird

What steps will reproduce the problem? 1. Press any function key that brings up an osd.

Everytime an osd is displayed, the memory taken for the process goes up. The first time I noticed this, asusocd was taking 40mb of ram!!

What version of the product are you using? On what operating system? 2.0 deb on eeeXubuntu.

Please provide any additional information below. I'll attach a screenshot after I get the screenshot button working :P

Comment #1

Posted on Feb 26, 2008 by Helpful Bear

Comment deleted

Attachments

Comment #2

Posted on Feb 26, 2008 by Helpful Bird

I think this is because the icons get loaded everytime the osd is displayed. This problem is really shown when you hold down the volume up/down keys, as the osd displays many of itself very fast, and the memory taken flies.

Attachments

Comment #3

Posted on Feb 26, 2008 by Happy Elephant

just tested it on my machine and you are right, it accumulates memory on the heap for every osd-display. will ask someone with xandros to test if this happens there as well and try to improve the code for destroying the osd and freeing the memory...

Comment #4

Posted on Feb 27, 2008 by Happy Elephant

I contacted some persons who still use stock xandros and the problem occurs there as well, so it is because the initial code from asus is bad and is not a specific problem with my custom version of it. nevertheless i will look into that and try to find a fix for the heap usage problem.

Comment #5

Posted on Feb 27, 2008 by Happy Elephant

Comment deleted

Status: Accepted

Labels:
Type-Defect Priority-Medium