posted 23 years ago
hi,thanks for the reply.
i m using jdk 1.2.2. and according to me theres a bug in the GC.
i'll explain my problem to u in details.I have a Vector which has array objects in it.now if i go on adding more array objects to it,as soon at it crosses the default capacity,i.e 10,it creates a new Vector and does an Array copy with the 10+1 elements in it(i've gone through the souce code of the Vector API).so the reference to the First Vector is set to null,but since the arrays in it r referefcing to some other objects,the vector doesnt get garbage collected and i m getting a memory leak in my program coz of this.