Insufficient memory for Java – Sketch on RaspberryPi

I looked around and haven’t found a method the set the volume in minim with the sampler method. But I’m quite new to minim
Any suggestions maybe ?

Thanks for your help !