- added variable to set memory usage for java (mkgmap)
- fixed problem with parameters