Thread:Project:Support desk/Mediawiki stopped working after doing export JAVA OPTIONS

After installing binary distribution of batik into  and adding $wgFileExtensions[] = 'svg'; $wgAllowTitlesInSVG = true; $wgSVGConverter = 'batik'; $wgSVGConverterPath = '/var/www/html/batik' into, I got the error message Error occurred during initialization of VM. Could not reserve enough space for object heap. Could not create the Java virtual machine. After doing some research, I tried $ export _JAVA_OPTIONS="-Xmx256M" but after this, MediaWiki stopped working by just giving the empty white screen. Doing  is not working too and gives the error PHP Parse error: syntax error, unexpected '$wgNamespacesWithSubpages' (T_VARIABLE) in /var/www/html/LocalSettings.php on line 171 However, mediawiki and  works normally (without batik and svg support of course) when I remove the directory settings as the following $wgFileExtensions[] = 'svg'; $wgAllowTitlesInSVG = true; $wgSVGConverter = 'batik'; # $wgSVGConverterPath = '/var/www/html/batik'

I'm using MediaWiki 1.22.5, PHP 5.5.9-1ubuntu4 (apache2handler), MySQL 5.5.37-0ubuntu0.14.04.1 with java-7-openjdk-amd64 on Ubuntu Server 14.04 with AWS EC2 micro-instance.