if(pCoeff.size()>thisCoeff.size()){
difference=pCoeff.size()-thisCoeff.size();
for(int i=thisCoeff.size(); i<thisCoeff.size()+difference;i++){
thisCoeff.add(i, new Double(0.0)); //this line throws errors
}
}
I've isolated this portion of my program as being the cause of memory leak, is it possible to patch this using a try catch statement? If so, what is the syntax?