Use StringBuffer instead of String (which is what I suspect is your problem). String Objects are immutable (which is fancy talk for they can't change) so anytime you manipulate a String in Java a new Object is created in memory and the reference is updated.
In most of these types of cases the use of StringBuffer will completely solve the memory problem. Without anymore information (ie code) that is the best suggestion I can make. Wushutwist
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.