I
info
Hi there
I need any aviable hint on how to reduce ramusage in CF 2
applications.
On Mobile 5 there is only about 15 - 25 MB of RAM aviable for user
applications, which is , if you have a big database app, really awfull.
On the GC I read an article and I'm a little confused on the handling.
Here in detail:
MyObject loTest = new MyObject();
loTest.DoSomeWork();
loTest.Dispose() // This is necessary to save RAM isn't it ?
loTest = null // May now the Garbage collection find loTest anymore to
cleanup because I haven't any more any reference ? Or do I have to not
set it to null??
An other question:
Do I have to dispose all elements (like textboxes , labels and so on)
on a form in the forms dispose or close event? Or does the it by
itself?
Hope someone may help me
Thank you all very much!
I need any aviable hint on how to reduce ramusage in CF 2
applications.
On Mobile 5 there is only about 15 - 25 MB of RAM aviable for user
applications, which is , if you have a big database app, really awfull.
On the GC I read an article and I'm a little confused on the handling.
Here in detail:
MyObject loTest = new MyObject();
loTest.DoSomeWork();
loTest.Dispose() // This is necessary to save RAM isn't it ?
loTest = null // May now the Garbage collection find loTest anymore to
cleanup because I haven't any more any reference ? Or do I have to not
set it to null??
An other question:
Do I have to dispose all elements (like textboxes , labels and so on)
on a form in the forms dispose or close event? Or does the it by
itself?
Hope someone may help me
Thank you all very much!