I've been using FFT and it's working on audios within 1 hour but when I load a 2 hour audio it's giving me java.lang.OutOfMemoryError: Java heap space
. Also, for extra information, I've been using the -Xmx1g to override it but, is there a way to not use it?
This is my code in FFT https://stackoverflow.com/a/27517678/4442430