HI Joshi,
You should set the JVM parameters using config tool.Below link gives the procedure how to connect to configtool and modify the parameters
https://help.sap.com/saphelp_nwce10/helpdata/en/43/73949862c16fcbe10000000a1553f6/content.htm
Regards,
Murali