Solution to unable to launch ASDM/IDM due to Java heap size

Introduction

To launch ASDM or IDM the basic requirement is that your Java maximum heap size must not be lesser than 256mb. Adjusting the maximum heap size is easily done through JRE plugin, however this works fine for JRE version 1.4 and 1.5. For JRE 1.6, it has no effect even if you have changed the maximum heap size to 256mb.

This message appears when your Java heap size is less than 256mb, usually it is suffice to adjust from the Java plug-in directly and you should be able to launch the asdm/idm. It does not seem to work on Windows7 64-bit JRE1.6.

Most people resort to downgrade their Java plug-in to version 1.4.2_19 (the last release for the 1.4 train) and it worked. You do not need to downgrade your Java plugin anymore, this tutorial is meant to solve your current problem of unable to launch asdm/idm.

Traditional method

You go to Control Panel, and double click on the Java plugin.

 

You click on Java tab, and under Java Runtime Environment section you click on View button.

 

You add the -Xmx256m. You can also do -Xms256m -Xmx512m, but both method would not work. Your ASDM/IDM will still complain your java heap size is less than 256mb.

 

Method that works for Windows 7 64-bit JRE 1.6

Use Windows explorer and browse to the location where your adsm-idm launcher resides. There is a config file known as asdm-launcher.config, this file is read-only. You need to be an administrator to uncheck the read only box.

 

Use your favourite windows text editor and open the config file. I prefer pspad. As you can see the configuration is initial 64mb and maximum 256mb, increase these values.

 

Change the value as stated in the screenshot. And save the file.

 

Viola! 😉

 

 

Advertisements
This entry was posted in General stuffs and tagged , , , . Bookmark the permalink.

5 Responses to Solution to unable to launch ASDM/IDM due to Java heap size

  1. DAN says:

    Thanks alooooooooot

  2. cyruslab says:

    You are welcome. Took me quite a while to figure this out. I am glad that it works for you.

  3. ibrahim says:

    thx alooootttt toooo…. hehehehe

  4. natasha says:

    did not understand how to fix it !

  5. kriss says:

    the method of adding -Xmx512m worked for me for jre-6u7-windows-i586-p

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