How can I destroy reference from String pool in Java?
<p>Strings are immutable. When I declare:</p>

<pre><code>String a = "abc";
String a1 = "abc";
</code></pre>

<p>Both objects refer to same location. So how can I destroy this "abc" reference from String pool?</p>

<p>My use case is that I am developing a hardware application with less memory and for this, I need to clear the references from String pool to save memory.</p>