Last active
April 6, 2016 08:53
-
-
Save marcocaboni/2627113 to your computer and use it in GitHub Desktop.
JVM args
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # java.lang.OutOfMemoryError: Java heap space | |
| -Xmx1024m | |
| # java.lang.OutOfMemoryError: PermGenSpace | |
| -XX:MaxPermSize=256M | |
| # Remote debugging, see also http://docs.oracle.com/javase/1.5.0/docs/guide/jpda/conninv.html | |
| -Xdebug | |
| -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n | |
| # Expose RMI for an external client | |
| -Djava.rmi.server.hostname=192.168.0.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment