• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1574
  • Last Modified:

Java memory heap error when using Cisco ASDM 6.2

Everytime I try to access the IPS tab when using Cisco ASDM 6.2 on a Cisco ASA 5510 I get a Java memory heap error. I have increased the memory size within Java to 512. I am using the following command line within Java.................-Xmxs512m. I still get the error.
  • 3
  • 2
2 Solutions
It's -Xmx512m (and, let's say, -Xms256m), not -Xmxs512m.
tjgjrAuthor Commented:
I have tried it with -Xmx512m / -Xms512m / -Xmxs512. None of them work. The reason for the different variations is because I found on them searching so I have tried them all.
tjgjrAuthor Commented:
This is were I got the -Xmsx512m

Java Plug-In on Windows

To change the settings of Java Plug-in on Windows for Java Plug-in 1.4.2 and 1.5, follow these steps:


Step 1 Close all instances of Internet Explorer or Netscape.

Step 2 Choose Start  > Settings > Control Panel.

Step 3 If you have Java Plug-in 1.4.2 installed:

a. Click Java Plug-in.

The Java Plug-in Control Panel appears.

b. Click the Advanced tab.

c. Enter -Xms256m in the Java RunTime Parameters field.

d. Click Apply and exit the Java Control Panel.

Step 4 If you have Java Plug-in 1.5 installed:

a. Click Java.

The Java Control Panel appears.

b. Click the Java tab.

c. Click View under Java Applet Runtime Settings.

The Java Runtime Settings Panel appears.

d. Enter -Xmxs256m in the Java Runtime Parameters field and then click OK.

e. Click OK and exit the Java Control Panel.

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

have you restarted your machine ? you are accessing IPS tabs ?  does that means u have successfully connected to the ASDM ?
tjgjrAuthor Commented:
I have connected to the ASDM and have been using it. The error comes up when I try to access the IPS module.

The solution I have come up with is to go back to Java 1.5. Everything works fine with that version installed. Don't know if this is a Java problem or Cisco.

anything that uses java will have compatibility issues. i always face this even with other products. suggest you to keep the current version
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

KuppingerCole Reviews AlgoSec in Executive Report

Leading analyst firm, KuppingerCole reviews AlgoSec's Security Policy Management Solution, and the security challenges faced by companies today in their Executive View report.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now