Description of problem: getFileMD5Sum() read a whole file into memory and fails if file too big How reproducible: Every time Additional info: Log VMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at 2015/08/05 11:23:33 - please wait. JVMDUMP030W Cannot write dump to file /usr/share/tomcat6/heapdump.20150805.112333.1794.0001.phd: Permission denied JVMDUMP032I JVM requested Heap dump using '/tmp/heapdump.20150805.112333.1794.0001.phd' in response to an event JVMDUMP010I Heap dump written to /tmp/heapdump.20150805.112333.1794.0001.phd . . . at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:761) Caused by: java.lang.OutOfMemoryError : Java heap space at com.redhat.rhn.common.util.FileUtils . readByteArrayFromFile ( FileUtils.java : 1 2 5 ) at com.redhat.rhn.common.util.MD5Sum . getFileMD5Sum ( MD5Sum.java
Taking...
spacewalk.git: 8ed6a8b4a128b44e55d97581931f489d1ee18f80
Spacewalk 2.5 was released.
This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug.