How to store large Binary Data in String?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/7524403/outofmemoryerror-when-receiving-xml-response-of-2-3-mb">OutOfMemoryError : When receiving XML response of 2.3 MB</a>  </p>
</blockquote>



<p>I got the responds string from the web service which is the large amount of Binary string in XML format. I can able to store the respond data into the Object. but i want to parse the respond and store that into the local data base. so i have to convert the object data to String. If i convert the object data to string. It occurs "Memory issue".</p>

<p>my respond is like this </p>

<pre><code>&lt;xmlstring&gt;
&lt;oneslip&gt;78364&lt;/oneslip&gt;
&lt;threeslip&gt;Hello&lt;/threeslip&gt;
&lt;twoslip&gt;3&lt;/twoslip&gt;
&lt;Binarydata&gt;"Here the large amount of binary data"&lt;/Binarydata&gt;

&lt;oneslip&gt;78364&lt;/oneslip&gt;
&lt;threeslip&gt;Hello&lt;/threeslip&gt;
&lt;twoslip&gt;3&lt;/twoslip&gt;
&lt;Binarydata&gt;"Here the large amount of binary data"&lt;/Binarydata&gt;

..
..
..
</code></pre>

<p>Upto 50</p>

<pre><code>&lt;/xmlstring&gt;
</code></pre>
