The weight gainning during heat treatment might be depended on the particular properties of the constituents of the considered composite like spicemens. During heat treatment the subjected samples could be adsorbed some carrier gas like N2 or O2.
On the other hand the purity of the purge gas could be responsible for this unwanted happening. If any impurities presented in the carrier gas they could be easily adsorbed by the subjected samples.
You have to check all these crucial factors for better understanding.