Runtime size of program is growing!?

J

juvi

Hello,

I have a little program that uses the ImageFactory class from the OpenNETCF.
I am loading images through new StreamOnFile as shown in an solution from
opennetcf.

My question is now: How can I avoid that my program is growing in size if I
am loading such images (the same images) again and again?

thx
juvi
 
J

juvi

Thank you for your reply. how can I cache an image stored local and how could
I use the image in my program?
 
S

Simon Hart [MVP]

I guess you have the code how to load the image. In order to cache it, store
it somewhere where it will not be cleaned up by the GC so do not let it go
out of scope. Usually you have a Cache class which stores objects that
persist.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top