JAVA memory heap size and ASDM or IDM

Unanswered Question
Mar 9th, 2010
User Badges:
  • Bronze, 100 points or more

When I try to load ASDM or IDM with either IE or Firefox, I receive the following error

ERROR: Current JAVA memory heap size is less than 256MB.

You must increase memory size before running IDM.

Click on help for more information.

Instruction provided by Cisco refer to JAVA 1.4.2 and 1.5

We run Java verison 6 and the instructions - although similar - do not work for JAVA version 6.

I did enter the  -Xmx256m in the Java Runtime Parameters field but it still failed.

I also rebooted the PC just for fun.

My exact JAVA version:

JAVA 6 update 18 build 1.6.0_18-b07

Any help would be wonderful!!!!



New document is created from this discussion. Thanks Message was edited by: Ankur Thukral

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.7 (3 ratings)
RAMACHANDRA R Wed, 03/10/2010 - 00:04
User Badges:

Hi ,

Please do check your Operating System like 32bit or 64bit, please download the JRE based on your operating system and it should fix your problem immediately, please refer the below link for downloading latest compataible JRE for your OS.



fsebera Wed, 03/10/2010 - 08:01
User Badges:
  • Bronze, 100 points or more


I removed JAVA 6 from my MS XP OS and installed JAVA 5. This JAVA down grade fixed my IPS management issue but now security folks have issues with my old outdated JAVA version. Win some, lose some.


fsebera Mon, 03/29/2010 - 07:44
User Badges:
  • Bronze, 100 points or more

The only way I could get this thing to operate was to downgrade to JAVA 5.

If there is another way, no one is talking.

Good luck


trippi Mon, 04/05/2010 - 11:47
User Badges:

What versions of IE/Firefox/ASDM are you using?

trippi Tue, 04/06/2010 - 06:55
User Badges:

If you didn't already, try setting it under both the user and system runtime properties...

You could also try setting it to 512, or try setting the initial heap size to 256.

java -Xms -Xmx

charg_in1 Wed, 04/28/2010 - 17:53
User Badges:

Hi There,

Try modifying the shortcut that launches ASDM. I found mine runs javaw but sets the min mem to 64 and max to 256. I changed these to min 256 and max 512 and that fixed the issue. Im running the latest Java.



HQABMC2004 Tue, 05/18/2010 - 11:51
User Badges:

Hi DJ,

I am having same issue, could you please post the full target path or IDM shortcut?

Thanks in advance



charg_in1 Thu, 05/20/2010 - 07:18
User Badges:

"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xms256m -Xmx512m -Dsun.swing.enableImprovedDragGesture=true -classpath lzma.jar;jploader.jar;asdm-launcher.jar;retroweaver-rt-2.0.jar

GrumpyBear Wed, 06/02/2010 - 12:09
User Badges:


Updated my Java and ran into this problem.  You think Cisco would change the target to meet the minimum memory requirements for the most memory hungry application using the ASDM-IDM launcher.

Can the original poster please mark this as "fixed" please?

abbeypressiss Mon, 06/14/2010 - 13:10
User Badges:

I'm running ASDM Version 5.2(5) on Windows 2003 5.2. Java Version is 1.6.0_20.

I solved the Java memory heap size problem by modifying the asdm-launcher.config file in the same directory as asdm-launcher,exe. I changed two vmparam entries, the -Xms and -Xmx to 256m and 512m respectively.

Christopher Dreier Sat, 11/06/2010 - 18:02
User Badges:
  • Silver, 250 points or more

Hello fsebera,

This is likely due to, "CSCtf21045: With Java 6, Update 18, IDM does not load due to heap size check." This issue is resolved in ASDM 6.3(4) and 6.3(4)53, which are currently available on

Thank you,

Blayne Dreier

Cisco TAC Escalation Team

**Please check out our Podcasts**

TAC Security Show:

TAC IPS Media Series:

I have a similar issue, but just when selecting the IPS button under configuration.

I'm running IE7 and Java 1.6.0_21 on XP, with ASDM v5.2(5) on ASA 7.2(5) .

ADSM runs fine, just the IPS section.


I just cracked this. It was slightly different for mine, as the Java Control panel change or the shortcut edit didn't work.

On mine, I had to do the following:

- Right click "Cisco ASDM Launcher" > Properties

- Click "Find Target"

- opens ASDM target directory

- disabled "asdm-launcher.config" file from read-only

- edit the file, changing the 2 params for Xms and Xmx to 256 & 512

- save, close and revert to read-only

- restart ASDM and my IPS section works

cisco steps Mon, 02/21/2011 - 17:41
User Badges:

I am still having problem w/ IDM, JAVA memory heap size

I have window 7

64 bit

can someone assist pls

thank you

aldoleiva Mon, 02/21/2011 - 20:45
User Badges:

I have windows 7 (32bit) and Java and ASDM info below

Java Version = 1.6.0_22
Local DM Launcher Version = 1.4.18

Minor change from older post!!

I just cracked this. It was slightly different for mine, as the Java Control panel change or the shortcut edit didn't work.

On mine,

I had to do the following:

- Right click "Cisco ASDM Launcher" > Properties

- Click "open file location"

- opens ASDM target directory

-copy file  "asdm-launcher.config" to desktop and disabled "asdm-launcher.config" file from read-only

- delete "asdm-launcher.config" file in ASDM folder

- edit the file on desktop, changing vmparam to = vmparam -Xmx300m

- copy file from desktop "asdm-launcher.config" into ASDM folder

- save, close and revert file to read-only

- restart ASDM and my IPS section works

ohhh yeahhh

cisco steps Tue, 02/22/2011 - 10:50
User Badges:

ohhh yeahhh , worked as you mentioned. Ty very much...

nhandinhle2002@... Mon, 05/02/2011 - 06:44
User Badges:

Dear ocporbust, i tried emulate Cisco IPS 4235 with Qemu. I have problem with Jave memory heap size with IDM login. Can you help me ?

My operating system is Window 7 64bit, Java 6 Update 25 64 bit. Thank you very much

yevgeniy.fedko Mon, 01/09/2012 - 10:50
User Badges:

Additional work around, worked with IPS IDM v6, 

IDM was strarting Java along with:

C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\cache\6.0\47\86032ef-66189461

I opened it and edited sting to:



Since that, no IDM issue )

zhiping wan Sun, 12/01/2013 - 07:55
User Badges:

i got a problem also like this,your solution  works ,thank you  so much!

Ravi Singh Fri, 01/31/2014 - 09:03
User Badges:
  • Cisco Employee,

You can increase the Heap size of Java through "Control Panel>JAVA>JAVA>View"


This Discussion