I am running ZLM7.2.2 Hot Patch 3 on my ZLM server and i'm trying to use zlmmirror to get the latest patches from Redhat to allow me to patch RHEL5.3 servers.

I am using the following xml file


The first time I run the mirror it connects and downloads the 3017 packages it is meant to and everything if fine

If I try to run the command again to see if there are further patches available it fails with the following error

/etc/opt/novell/zenworks # /opt/novell/zenworks/bin/zlmmirror m -c /etc/opt/novell/zenworks/rhn.xml
ZENworks Linux Management Mirror (zlmmirror) 7.2.2
Copyright 2008, Novell, Inc. All rights reserved.

Catalog "rhel-x86_64-server-5" has 3017 packages to download.
Exception in thread "main" java.lang.OutOfMemoryError

I have plenty of memory available on the server and can't see anything further in any of the following logs


Does anyone have any ideas or further things to look at?