- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2009 07:03 AM
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
Solved! Go to Solution.
- Labels:
-
Network Management
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2009 02:27 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2009 11:01 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2009 02:19 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2009 02:27 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2014 01:56 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2014 11:11 PM
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.
