How to make minecraft run better when using bandicam?

I'm a youtuber and I need to do a Pixelmon series. But when I run bandicam with minecraft, the FPS rate drops from 40 to 2. How can I make it better?

Sounds like your computer does not have enough juice to run the two together.

I cross my fingers you are on a desktop.
You need to upgrade a few parts

more ram
a stronger processor
maybe a video-card?

if you are on a laptop you need to buy a new one