FROM : Dominik Pich
DATE : Sat Dec 01 19:21:57 2007
Hi,
I have build a small sample app - following the example code given in
the doku about it.
Nothing facy: a browser and an image view (my addition to the sample)
then I tested with my ~/Pictures ( lets say..... 15000)
NO GC
All is fine! Memory usage is quite constant for my tests.
WITH GC
Then I went and set GC to required for my app.
(Code; no more retain/release calls - for this test.... but that
shouldn't influence ImageKit)
Checked if GC is enabled for my app and all its Libs by adding
OBJ_PRINT_GC=YES to my build path. All looking good.
But now my memory usage constantly gets higher and once I run out of
RAM things go down (as they tend to do when you leak ... )
So.. what am I doing wrong?
I can't believe that Framework is so 'buggy' and therefore I am
curiose as to where I made a mistake. Maybe even a totallyobvious one
I forgot... like...... have I to do more than require GC in build
settings to make it active?
Thanks,
Dominik
BTW: Code and performance samples can be provided :) My code is
actually REALLY simple, no threading - nothing. (See ImageKit sample)
DATE : Sat Dec 01 19:21:57 2007
Hi,
I have build a small sample app - following the example code given in
the doku about it.
Nothing facy: a browser and an image view (my addition to the sample)
then I tested with my ~/Pictures ( lets say..... 15000)
NO GC
All is fine! Memory usage is quite constant for my tests.
WITH GC
Then I went and set GC to required for my app.
(Code; no more retain/release calls - for this test.... but that
shouldn't influence ImageKit)
Checked if GC is enabled for my app and all its Libs by adding
OBJ_PRINT_GC=YES to my build path. All looking good.
But now my memory usage constantly gets higher and once I run out of
RAM things go down (as they tend to do when you leak ... )
So.. what am I doing wrong?
I can't believe that Framework is so 'buggy' and therefore I am
curiose as to where I made a mistake. Maybe even a totallyobvious one
I forgot... like...... have I to do more than require GC in build
settings to make it active?
Thanks,
Dominik
BTW: Code and performance samples can be provided :) My code is
actually REALLY simple, no threading - nothing. (See ImageKit sample)
| Related mails | Author | Date |
|---|---|---|
| Dominik Pich | Dec 1, 19:21 | |
| Bill Bumgarner | Dec 1, 19:50 | |
| Thomas Goossens | Dec 2, 18:14 | |
| Bill Bumgarner | Dec 2, 19:10 | |
| Isaac Wankerl | Dec 2, 19:19 | |
| Thomas Goossens | Dec 2, 22:48 | |
| Dominik Pich | Dec 3, 14:06 | |
| Thomas Goossens | Dec 3, 14:21 | |
| Sean McBride | Dec 3, 16:40 | |
| Dominik Pich | Dec 3, 17:22 | |
| Sean McBride | Dec 3, 17:31 |






Cocoa mail archive

