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

space.java.lang.OutOfMemoryError: java heap space

I have a problem when i want to export the inventory via cwcli.

cwcli export inventory -u xxxx -p xxxx -m xxxx -device

Running LMS 3.2 on Solaris 10.

Actualy, there are 2000 devices.

I get this error (cli.log):

Java heap spacejava.lang.OutOfMemoryError: Java heap space

What do you think about ? Thanks for suggestions. Regards herve

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: space.java.lang.OutOfMemoryError: java heap space

This parameter controls the maximum amount of heap space the JVM will use. It has a default, and that's 512 MB. Large installations will require more memory.

5 REPLIES
Cisco Employee

Re: space.java.lang.OutOfMemoryError: java heap space

You can increase the allowed heap size by editing /opt/CSCOpx/MDc/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/cli/framework/heap.properties. Increase VM_HEAP_MAX from 512 to 1024.

New Member

Re: space.java.lang.OutOfMemoryError: java heap space

Thanks a lot for your help. This problem is solved. For my information, could you tell me what's this parameter and why there isn't the default. Regards

Cisco Employee

Re: space.java.lang.OutOfMemoryError: java heap space

This parameter controls the maximum amount of heap space the JVM will use. It has a default, and that's 512 MB. Large installations will require more memory.

New Member

Hi Joseph, I'm having the

Hi Joseph,

 

I'm having the same problem with CWLMS 4.0.1. But I didn't find this file heap.properties in the

/opt/CSCOpx/MDc/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/cli/framework/

Do you know where I customize this parameter in that version?

Thanks,

 

Patricia Oliveira

Cisco Employee

There was a typo.  The

There was a typo.  The directory is /opt/CSCOpx/MDC/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/cli/framework/ .  This file should exist in LMS 4.0.1, thought that version is end of life.  You should really upgrade to 4.2.5.

464
Views
5
Helpful
5
Replies
CreatePlease to create content