Red Hat Network Satellite server is encountering an Internal Server Error in webUI and tomcat OutOfMemory error when comparing configuration files

Solution Verified - Updated -

Issue

  • Trying to diff two config files on the Red Hat Network Satellite server, which produced an Internal Server Error in the WebUI and an OutOfMemory Error in the tomcat6 logs.

Error as seen in /var/log/tomcat6/catatlina.out:

Caused by:  
java.lang.OutOfMemoryError  
    at com.redhat.rhn.common.filediff.Trace.fork(Trace.java:108)  
    at com.redhat.rhn.common.filediff.Trace.step(Trace.java:170)  
    at com.redhat.rhn.common.filediff.Differ.step(Differ.java:76)  
    at com.redhat.rhn.common.filediff.Differ.diff(Differ.java:49)  
    at com.redhat.rhn.common.filediff.Diff.diffFiles(Diff.java:92)  
    at com.redhat.rhn.common.filediff.Diff.htmlDiff(Diff.java:51)  
    at com.redhat.rhn.frontend.action.configuration.files.DiffAction.performFileDiff(DiffAction.java:100)  
    at com.redhat.rhn.frontend.action.configuration.files.DiffAction.execute(DiffAction.java:70)

Environment

  • Red Hat Network Satellite 5.4.1 on Red Hat Enterprise Linux 6 64bit
  • Red Hat Network Satellite 5.4.x on Red Hat Enterprise Linux 5
  • Red Hat Network Satellite 5.3.x on Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content