Can I heat silicon or PU pouring rubber to remove bubbles?

I have tried putting the mixtures in a glass jar with a metal cap that has a valve screwed in and suck out the air with an inversed...