What if creat many object in short time in java?
<p>I know the best practice is to avoid object creation. But have to some time. </p>

<p>These new instance just behave as temp object. They don't be referenced after create. How java GC react to this.</p>

<p>Can it cause OOM? If I can collect them immediately. How can I remove them from memory?</p>
