I'm running a J2ME Application and run into some serious memory problems.
So I built in another step to clear the huge input string and process its data and clear it.
But it didn't solve the problem until I set input = null and not input = "".
Shouldn't it be the same in terms of memory management? Can somebody explain me the difference please?
Thanks,
rAyt
for(int x = 0; x <= ChunksPartCount; x++)
{
    _model.setLoading_bar_progress((x * ChunkSize));
    input += web_service.FullCompanyListChunksGet(x, ChunkSize);
    if((x * ChunkSize) > 5000)
    {
        ReadXML(input);
        input = null;
    }
}
Edit:
I still want to flag an answer as the solution. I think  mmyers remarks are going in the right direction.
 
     
     
     
     
     
     
    