Description of problem: Spacewalk throws "java.lang.OutOfMemoryError: Java heap space" while requesting "/rhn/systems/DuplicateIPList.do" for a registered 1000 duplicate copies of a single system. Version-Release number of selected component (if applicable): spacewalk-backend-1.1.42-1.el5 spacewalk-java-1.1.35-1.el5 spacewalk-schema-1.1.19-1.el5 spacewalk-oracle-1.1.6-1.el5 How reproducible: 1 from 1 attempt. Steps to Reproduce: 1. prepare ~1000 duplicate systems 2. request "/rhn/systems/DuplicateIPList.do" 3. Script could be: --- for i in {1..1000} do rhnreg_ks --activationkey=<your_actKey_here> --force --profilename=dupe$i-`hostname` echo "registering... $i" done --- Actual results: ISE and java dump in /var/log/tomcat5/catalina.out Expected results: No dumps, system should handle this capacity Additional info: all the java settings are the default ones coming from standard Spacewalk installation.
take up the bug priority
bumping priority down. A 1,000 duplicates is a crazy high number, lets acknowledge a limitation. Low priority, we have other issues. Where do we say that ISE is bad, 10, 50, 200 duplicate profiles? Do we know when the page starts to fail? I'd anticipate that as long as you can bring up the page when a user has say 5,000 systems, with a few dozen duplicates, then that is a more 'normal' usage that I'd expect we would handle OK. Cliff.
the Spacewalk with >3000 systems registered and several pairs of dupl. profiles there works perfectly on 4GB RHEL5 virtual guest machine. so closing the issue.