IDM or ASDM JAVA Memory Heap Size Issue

When trying to open Intrusion Prevention from Cisco ASDM, following message is thrown

image

Your current Java memory heap size is less than 256 MB, the amount required for IOS IPS to run. To change the Java memory heap size, open the Java control panel and enter -Xmx256m in the Java Applet Runtime Settings dialog. This dialog is in the Java tab, or in the Advanced tab of the Java control panel. After you have changed the Java heap size, restart Cisco SDM.

Solution:

Step 1:
1. Open the Control Panel.
2. Navigate to Programs, and open the Java control panel.
3. Under the Java tab, in the Java Runtime Environment Settings pane, click View.
4. For all enabled Java versions, enter -Xmx512m under Runtime Parameters.
5. Hit OK and close the control panel.

image

Step 2: The shortcut will still refer to its own runtime parameters. Change it and create a short cut as Target: C:\Windows\System32\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

Start in: “C:\Program Files\Cisco Systems\ASDM\”

Leave a Reply