<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:&quot;Times New Roman&quot;;}
h3
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:8.0pt;
        margin-left:.25in;
        text-indent:-.25in;
        page-break-after:avoid;
        mso-list:l0 level1 lfo1;
        font-size:13.0pt;
        font-family:Arial;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Verdana;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1442142608;
        mso-list-type:hybrid;
        mso-list-template-ids:-1094392418 1721402868 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-style-link:&quot;Heading 3&quot;;
        mso-level-text:&quot;\(%1\)&quot;;
        mso-level-tab-stop:.25in;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--&gt;
&lt;/style&gt;

&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=blue&gt;

<div class=Section1>

<p class=MsoNormal><font size=2 color=blue face=Verdana><span style="font-size:
10.0pt;font-family:Verdana;color:blue"><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Verdana><span style="font-size:
10.0pt;font-family:Verdana;color:blue"><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style="text-align:center"><font size=3
face="Times New Roman"><span style="font-size:12.0pt">

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style="font-size:10.0pt;
font-family:Tahoma;font-weight:bold">From:</span></font></b><font size=2
face=Tahoma><span style="font-size:10.0pt;font-family:Tahoma"> Ray [via
OSGeo.org] [mailto:<a href="/user/SendEmail.jtp?type=node&node=6090355&i=0&by-user=t" target="_top" rel="nofollow" link="external">[hidden email]</a>] <br>
<b><span style="font-weight:bold">Sent:</span></b> Friday, March 04, 2011 5:48
PM<br>
<b><span style="font-weight:bold">To:</span></b> Ray Wu<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: Re:</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style="font-size:
12.0pt"><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style="margin-bottom:12.0pt"><font size=3
face="Times New Roman"><span style="font-size:12.0pt">Jackie, <br>
<br>
Using your strategy, the &quot;Attemp to read/write to protected memory&quot; issue
became better and it actually improved the performance for importing big
dataset. However, when I test with a very big dataset (10 hr importing time), I
got a new problem &quot;(dbgql_define_rdb) Memory Error when call
FDOCmd.Execute()&quot; which I posted on this website a few weeks ago. If I
don't use the dictionary strategy, the memory error is not there. <br>
<br>
I wonder if the new memory issue could be related with memory cleanup of FDO
objects. I suspect it might be related with GeometryValue cleanup. When I tried
to use GeometryValue.Dispose(), I got &quot;Attemp to read/write to protected
memory&quot; again. I wonder how do you clean GeometryValue object when using
dictionary strategy and set geometry for each new object? <br>
<br>
Thanks. <o:p></o:p></span></font></p>

<div class=MsoNormal align=center style="text-align:center"><font size=3
face="Times New Roman"><span style="font-size:12.0pt">

<hr size=1 width="100%" noshade color="#cccccc" align=center>

</span></font></div>

<div>

<div>

<p class=MsoNormal><b><font size=1 color="#444444" face=Tahoma><span style="font-size:9.0pt;font-family:Tahoma;color:#444444;font-weight:bold">If
you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></font></b></p>

</div>

<p class=MsoNormal><font size=1 color="#444444" face=Tahoma><span style="font-size:9.0pt;font-family:Tahoma;color:#444444"><a href="http://osgeo-org.1803224.n2.nabble.com/Attemp-to-read-write-to-protected-memory-exception-when-reusing-fdo-command-tp5766778p6090344.html?by-user=t" target="_top" rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/Attemp-to-read-write-to-protected-memory-exception-when-reusing-fdo-command-tp5766778p6090344.html</a>
<o:p></o:p></span></font></p>

</div>

<div style="margin-top:4.8pt">

<p class=MsoNormal><font size=1 color="#666666" face=Tahoma><span style="font-size:8.5pt;font-family:Tahoma;color:#666666">To unsubscribe from
&quot;Attemp to read/write to protected memory&quot; exception when reusing fdo
command, <a href="http://osgeo-org.1803224.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&amp;node=5766778&amp;code=cmF5Lnd1QGVmYWNlYy5jb218NTc2Njc3OHwxMTE1NDc4ODI2&by-user=t" target="_top" rel="nofollow" link="external">click
here</a>. <o:p></o:p></span></font></p>

</div>

</div>

&lt;/body&gt;

&lt;/html&gt;

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Attemp-to-read-write-to-protected-memory-exception-when-reusing-fdo-command-tp5766778p6090355.html">RE: Re:</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/FDO-Users-f2048584.html">FDO Users mailing list archive</a> at Nabble.com.<br/>