Re: memory leak



The same has to be done on the full framework, and again, it's not a bug.

-Chris


"Hilton" <nospam@xxxxxxxxxx> wrote in message
news:gvJDg.12218$gY6.3863@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I bet you're doing something like "xyz.Image = new Bitmap (...)" - right?
If so, there is a bug in the CF design/implementation (IMHO) that forces
you to do your own memory management; i.e. for every "new Bitmap ()" you
do, you'll need to do a "Dispose()" on that bitmap when you're done with it
(aka malloc and free).

Let us know if that helps,

Hilton


"raju" <ponnurajs@xxxxxxxxx> wrote in message
news:1155390117.643466.283160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hai

In my device application (windows ce application using vb.net), i
am having nearly 25 forms. Moving from one form to another form, just i
am hide the first form and show the second form.

Each form I am having some picturebox, putting images for that
picturebox using imagelist.

My application works very well. But, if the application running
contineously for 1 or 2 hours, i am getting error such as "low memory".


when i checked the memory, it will automatically increasing when
the application is in running. First initial time, it occupies 22 mb
and it increasing upto 32 to 35 mb.

What is the reason for this? and how to correct this memory
problem.

Regards
Raju.





.



Relevant Pages

  • Re: memory leak
    ... Are u ensuring that only a single instance of any object u r using. ... picturebox using imagelist. ... contineously for 1 or 2 hours, i am getting error such as "low memory". ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: memory leak
    ... am hide the first form and show the second form. ... picturebox using imagelist. ... contineously for 1 or 2 hours, i am getting error such as "low memory". ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: memory leak
    ... am hide the first form and show the second form. ... picturebox using imagelist. ... contineously for 1 or 2 hours, i am getting error such as "low memory". ...
    (microsoft.public.dotnet.framework.compactframework)
  • memory leak
    ... am hide the first form and show the second form. ... picturebox using imagelist. ... contineously for 1 or 2 hours, i am getting error such as "low memory". ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Forth as an operating system
    ... Suppose that bug results in failure to yield. ... Or what happens on a memory leak? ... E.g. how to deal with idiots who ... defined interface or architectures, either, and even good programmers tend ...
    (comp.lang.forth)