Hello, I'm quite new to Java and I work in rather limited environment (not much memory). I know that Java has mechanisms to release some objects, which are not used anymore. Can You tell me how it actually works, do I need to invoke garbage collector manually, or is it some background process which works independently. Maybe You can provide me some link, where I can find more information concerning this subject. Thanks,
Hi! You don't have to free the memory,java handles deallocation automatically. when no reference to an abject exists, that object is that object is assumed to be no loger needed and the memory for that object can be reclaimed. so you don't have to worry about it.