cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
45335
Views
10
Helpful
27
Replies

JAVA memory heap size and ASDM or IDM

fsebera
Level 4
Level 4

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

27 Replies 27

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?

abbeypressiss
Level 1
Level 1

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.

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

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

This works like a charm -- nice work

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

I have window 7

64 bit

can someone assist pls

thank you

Thanks!!! This worked for me

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

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

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

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

Thanks

ravi
Level 1
Level 1

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

Ravi Singh
Level 7
Level 7

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card