L
Lisa
Hi, I have a web service that uses DIME to send and receive files between
pockrt pc and server. I have noticed very odd behavior. If I call the web
service from a button click event it works the first time. However, if I
click the button a second time it does not work. I get an "Out of memory"
error on the pocket pc when the code tries to create a new stream.
This is where it gets odd... I can get it to work every time but I first
have to switch to a different screen like the Today screen or Settings
screen then return to my app screen and click the button.
This seems like a garbage collection issue where the streams memory is not
being released by the garbage collector, unless I switch to another screen.
Anyone got an idea what can be done to correct this?
Thanks
pockrt pc and server. I have noticed very odd behavior. If I call the web
service from a button click event it works the first time. However, if I
click the button a second time it does not work. I get an "Out of memory"
error on the pocket pc when the code tries to create a new stream.
This is where it gets odd... I can get it to work every time but I first
have to switch to a different screen like the Today screen or Settings
screen then return to my app screen and click the button.
This seems like a garbage collection issue where the streams memory is not
being released by the garbage collector, unless I switch to another screen.
Anyone got an idea what can be done to correct this?
Thanks