SqlCeReplication memory leak (?)

  • Thread starter Thread starter Beri Tamas
  • Start date Start date
B

Beri Tamas

Hello,

this - very simple code :

SqlCeReplication _replication=new SqlCeReplication();
/*set up replication parameters, url, username etc.*/
_replication.Synchronize();
_replication.Dispose();

causes about ~3MB memory loss on my ipaq2210 device, only the first time
run. The database file is quite large, about ~7MB. How can I minimize this
massive lost of memory?

Thanks,
Tamas Beri
 
Try moving the tempdb to a storage card.
Please review the BOL topic "Specifying the Location of the Temporary
Database Using Replication and RDA Controls"

You can access SQL Server CE Knowledge Base articles at:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;KBHOWTO
( select ' SQL Server CE ' as the product )

Thank you!
Syed N. Yousuf
Microsoft Developer Support Professional

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Thanks,

in fact I'm afraid to cache anything to the storage card... I need not just
a lot of free space, but performance too. Not me, more to the customer :).

Regards,
Tamas Beri

"Syed N. Yousuf [MS]" said:
Try moving the tempdb to a storage card.
Please review the BOL topic "Specifying the Location of the Temporary
Database Using Replication and RDA Controls"

You can access SQL Server CE Knowledge Base articles at:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;KBHOWTO
( select ' SQL Server CE ' as the product )

Thank you!
Syed N. Yousuf
Microsoft Developer Support Professional

This posting is provided "AS IS" with no warranties, and confers no
rights.
 
Back
Top