T
Tomer
Hi,
I've developed an application that uses a gprs card in pocket pc to send
data to a remote server on the internet.
The whole connection to the server procedure goes like this:
1.use connection manager to establish a connection to the internet.
2.use socket object to connect to the server.
3.transfer the data.
4.disconnect from the server.
5.disconnect from the internet.
At first I had some 'application gets stuck' issues because I've used the
garbage collector.
After I've canceled the GC the number of error reduced to 1 for every ~10
connection procedures ( with the GC was 1:5 ratio ).
The application gets stuck when I fill a DataTable with records using a
DataAdapter. Note that in every connection procedure I'm transfering the
same data, so that the procedures are exactly the same.
I've been try to solve this mystery for 2 whole days, I've tried different
ways to declare/dispose variables but nothing.
Please help.
Tomer.
I've developed an application that uses a gprs card in pocket pc to send
data to a remote server on the internet.
The whole connection to the server procedure goes like this:
1.use connection manager to establish a connection to the internet.
2.use socket object to connect to the server.
3.transfer the data.
4.disconnect from the server.
5.disconnect from the internet.
At first I had some 'application gets stuck' issues because I've used the
garbage collector.
After I've canceled the GC the number of error reduced to 1 for every ~10
connection procedures ( with the GC was 1:5 ratio ).
The application gets stuck when I fill a DataTable with records using a
DataAdapter. Note that in every connection procedure I'm transfering the
same data, so that the procedures are exactly the same.
I've been try to solve this mystery for 2 whole days, I've tried different
ways to declare/dispose variables but nothing.
Please help.
Tomer.