Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Bronze

JAVA memory heap size and ASDM or IDM

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!!!!

Tks

Frank

New document  https://supportforums.cisco.com/docs/DOC-16442 is created from this discussion. Thanks Message was edited by: Ankur Thukral

29 REPLIES
New Member

Re: JAVA memory heap size and ASDM or IDM

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.

https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jre-6u18-oth-JPR@CDS-CDS_Developer

Rgds

Rama

Bronze

Re: JAVA memory heap size and ASDM or IDM

Tks

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.

Frank

New Member

Re: JAVA memory heap size and ASDM or IDM

I have te same problem. I dont want to downsize to java 5'. is ther a solution for this problem.

regards Aad Moerman

Bronze

Re: JAVA memory heap size and ASDM or IDM

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

Frank

New Member

Re: JAVA memory heap size and ASDM or IDM

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

New Member

Re: JAVA memory heap size and ASDM or IDM

ASDM 6.2(3)

IE 8.0.6001.18828

New Member

Re: JAVA memory heap size and ASDM or IDM

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

New Member

Re: JAVA memory heap size and ASDM or IDM

yep this really sucks ... and you know what? it's not the first time I've had this issue ... now that Ellison owns Sun, let fun really begin!

Downgraded from SE 6 update 19 to JRE SE 6 update 7 and it works now.  Finding SE 6 update 7 wasn't easy.  To to save anyone else this grief:

http://java.sun.com/products/archive/

New Member

Re: JAVA memory heap size and ASDM or IDM

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.

Rgds,

DJ

New Member

Re: JAVA memory heap size and ASDM or IDM

Hi,

Job well done Devistating Dave....it works!

Thanks

Daniel

New Member

Re: JAVA memory heap size and ASDM or IDM

DJ,

Thank You, that was the solution.

Regards,

Aad

New Member

Re: JAVA memory heap size and ASDM or IDM

..............There's not a problem or issue Devisating Dave (DJ) can't fix! 

New Member

Re: JAVA memory heap size and ASDM or IDM

Hi DJ,

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

Thanks in advance

Regards,

ST

New Member

Re: JAVA memory heap size and ASDM or IDM

"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 com.cisco.launcher.Launcher

New Member

Re: JAVA memory heap size and ASDM or IDM

Thanks,

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?

New Member

Re: JAVA memory heap size and ASDM or IDM

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.

Re: JAVA memory heap size and ASDM or IDM

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 cisco.com.

Thank you,

Blayne Dreier

Cisco TAC Escalation Team

**Please check out our Podcasts**

TAC Security Show: http://www.cisco.com/go/tacsecuritypodcast

TAC IPS Media Series: https://supportforums.cisco.com/community/netpro/security/intrusion-prevention?view=tags&tags=tac_ips_media_series

New Member

Re: JAVA memory heap size and ASDM or IDM

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.

****EDIT:

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

New Member

Re: JAVA memory heap size and ASDM or IDM

This works like a charm -- nice work

New Member

Re: JAVA memory heap size and ASDM or IDM

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

I have window 7

64 bit

can someone assist pls

thank you

New Member

JAVA memory heap size and ASDM or IDM

Thanks!!! This worked for me

New Member

Re: JAVA memory heap size and ASDM or IDM

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

New Member

Re: JAVA memory heap size and ASDM or IDM

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

New Member

Re: JAVA memory heap size and ASDM or IDM

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

Silver

Re: JAVA memory heap size and ASDM or IDM

New document is created from this discussion -------- https://supportforums.cisco.com/docs/DOC-16442

Thanks

New Member

Re: JAVA memory heap size and ASDM or IDM

we had problem in accessing IPS through ASDM

so, we just did the following changes and it worked..

Edit the Path system variable by adding two entries.

C:\Program Files\Java\jdk1.5.0_05\bin

C:\Program Files\Java\jre6

New Member

JAVA memory heap size and ASDM or IDM

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 )

New Member

JAVA memory heap size and ASDM or IDM

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

Cisco Employee

JAVA memory heap size and ASDM or IDM

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

40347
Views
14
Helpful
29
Replies
CreatePlease login to create content