My application has a memory leak which I found using a MemoryMonitor class that came with the JDK demos
I create JComponent subclass instances and add them to a vector.
How I get rid of them is to use
Vector.remove(int index)
But as the memory keeps increasing I want to get rid of these Objects from memory and its not working.
Also what is a circular reference and how do I fix it?
(I Have a suspicion this might be a problem)
Can anyone shed any light on the subject?
What can the package java.lang.ref do for me?
any good sites?
And also what is Load Balancing?
I create JComponent subclass instances and add them to a vector.
How I get rid of them is to use
Vector.remove(int index)
But as the memory keeps increasing I want to get rid of these Objects from memory and its not working.
Also what is a circular reference and how do I fix it?
(I Have a suspicion this might be a problem)
Can anyone shed any light on the subject?
What can the package java.lang.ref do for me?
any good sites?
And also what is Load Balancing?