Menambah Heap Size Tomcat


Pertama, silahkan Anda ingat-ingat terlebih dahulu, tempat Anda melakukan setting classpath pada ‘zaman dahulu kala’. Saya melakukkan setting classpath pada file environment (/etc/environment).

[1]. Buka file environment

sudo gedit /etc/environment

[2]. Tambahkan variable JAVA_OPTS

JAVA_OPTS=-XX:PermSize=256m -XX:MaxPermSize=256m -Xmx1024m -Xms1024m

* atau silahkan setting ukuran memory Heap sesuai dengan kebutuhan dan kapasitas memory RAM yang Anda miliki (edit pada: -Xmx1024m -Xms1024m)

About windupurnomo

I'm interested in programming. I am active with several programming such as Java, C #, C, JavaScript, HTML. I'm also develop desktop application (Java Swing), Mobile Application (Android), and Web programming (ASP MVC).
This entry was posted in Kuliah and tagged , , , . Bookmark the permalink.

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