snippetjournal

– notes, snippet codes, and my journal

Configure Max – Min JVM memory and Set remote – attach debugger

leave a comment »

  • set maximum and minimum memory in JVM
    -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m -XX:NewSize=192m -XX:MaxNewSize=384m
  • set remote / attach debugger
    -Xdebug -Xrunjdwp:transport=dt_socket,address=7951,server=y,suspend=n 
  • set remote / attach debugger And maximum and minimum memory in JVM
    -Xdebug -Xrunjdwp:transport=dt_socket,address=7951,server=y,suspend=n -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m -XX:NewSize=192m -XX:MaxNewSize=384m

Written by snippetjournal

January 9, 2014 at 3:48 am

Posted in Programming

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: