public void clearAllMemory(List<MemorySegment> target) {
		// return the overflow segments
		if (this.overflowSegments != null) {
			for (int k = 0; k < this.numOverflowSegments; k++) {
				target.add(this.overflowSegments[k]);
			}
		}	
		// return the partition buffers
		target.addAll(this.partitionPages);
		this.partitionPages.clear();
	}
public void clearAllMemory ( List < MemorySegment > target ) { if ( this . overflowSegments != null ) { for ( int k = 0 ; k < this . numOverflowSegments ; k ++ ) { target . add ( this . overflowSegments [ k ] ) ; } } target . addAll ( this . partitionPages ) ; this . partitionPages . clear ( ) ; }
releases all of the partition's segments (pages and overflow buckets)

@param target memory pool to release segments to