NNTP-Posting-Host: 32.100.245.177
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1065579559 15634 127.0.0.1 (8 Oct 2003 02:19:19 GMT)
X-Complaints-To: (e-mail address removed)
NNTP-Posting-Date: Wed, 8 Oct 2003 02:19:19 +0000 (UTC)
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-
xit-09!supernews.com!postnews1.google.com!not-for-mail
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.compactframework:35389
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
(e-mail address removed) ("Ilya Tumanov [MS]") wrote in message
Andrew,
The only possible reason I have in mind is a low memory condition.
GC runs automatically if managed application needs more memory, but not the
native one (i.e. SQL CE).
Second application will reduce amount of available memory and could cause a
failure.
I would suggest you run GC and wait for finalizers to complete before
starting replication as follows:
GC.Collect();
GC.WaitForPendingFinalizers();
Please let me know if this works.
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
-------------------- ==
ISSUES?
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!newsfeed.freenet.de!newsfeed.news2me.com!elnk-nf2-pas!elnk-pas-nf1!news
feed.earthlink.net!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!postnews1.goo
gle.com!not-for-mail
That is our thought, but we did some memory checks and it seems that
the device has sufficient memory (findings posted below).
The error that we trapped is: 27750
"Cannot load sscemw20.dll or ssceca20dll is missing or not
registered."
This error implies that there is an open connection somewhere being
effected by APPLICATION_2. I'm not sure how that would be the case
with a separate datasource, but I can't be sure. We do have 2 sdf
files in APPLICATION_1, but the other sdf connection is closed before
we perform the replication.
Thanks again for your considerations.
-a
Memory findings:
This is the device that is running only APPLICATION_1:
Steady state (no apps running)
MEMORY Storage Program
Allocated 31.60 31.54
In Use 15.08 3.02
Free 16.52 28.52
Only our APPLICATION_1 running (but not replicating)
MEMORY Storage Program
Allocated 31.60 31.54
In Use 15.08 9.57
Free 16.52 21.97
Only our APPLICATION_1 running (replicating)
MEMORY Storage Program
Allocated 31.60 31.54
In Use 15.08 12.95
Free 16.52 18.69
After APPLICATION_1 replication and not doing anything else (but
APPLICATION_1 is running)
MEMORY Storage Program
Allocated 31.60 31.54
In Use 15.08 11.73
Free 16.52 19.74
APPLICATION_1 replication was performed a few more times to ensure
that there is not a memory leak but there were no appreciable changes.
This is the device with APPLICATION_2:
Steady state (no apps running)
MEMORY Storage Program
Allocated 37.84 25.30
In Use 22.38 3.38
Free 15.46 21.92
Only APPLICATION_2 running
MEMORY Storage Program
Allocated 31.60 25.30
In Use 15.08 6.60
Free 16.52 18.70
We cannot test with APPLICATION_1 and APPLICATION_2 running because
the device crashes.