Just set 

```python
java_options = "-Xmx512m"
```

as now supported by the MATLAB easyblock?