adding java memory options to mysql plugin

@lars2893 

Added java memory options to the mysql plugin which defaults to -Xmx128m but can be overridden.