RichView need to much memory !
Posted: Tue Mar 20, 2007 12:56 am
hi...
i create a chat-control and use a richview to display the chatlog... with many gif animations and colored text. but ever line i add, the tastmanager show me the exe increase 5-20 kb more memory needed ?
it is possible that the richeview dont free the grafic-objects on free ? so i can use a already created grafik-object and dont must create for ever smilie a new grafik-object, yes, i assigned it, but it need too many memroy !!!!!
and yes, i use already existings styles and dont create for ever line a new style...
what can i do too, to save memory ?
greez & thx, sky...
EDIT:
and if MANY smilies displayed then i get this message:
---------------------------
XXXXXXXXXXXXXXXX
---------------------------
Leinwand/Bild erlaubt kein Zeichnen.
---------------------------
OK
---------------------------
translation: canvas dont allow to draw !
i create a chat-control and use a richview to display the chatlog... with many gif animations and colored text. but ever line i add, the tastmanager show me the exe increase 5-20 kb more memory needed ?
it is possible that the richeview dont free the grafic-objects on free ? so i can use a already created grafik-object and dont must create for ever smilie a new grafik-object, yes, i assigned it, but it need too many memroy !!!!!
and yes, i use already existings styles and dont create for ever line a new style...
what can i do too, to save memory ?
greez & thx, sky...
EDIT:
and if MANY smilies displayed then i get this message:
---------------------------
XXXXXXXXXXXXXXXX
---------------------------
Leinwand/Bild erlaubt kein Zeichnen.
---------------------------
OK
---------------------------
translation: canvas dont allow to draw !