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

<ZLMMirrorConf>
<Session>
<RemoteServer>
<Type>rhn</Type>
<SystemID>/etc/opt/novell/zenworks/sl_rhn_x86_64.conf</SystemID>
</RemoteServer>
<LocalServer>
<Type>zlm</Type>
<User>adminuser</User>
<Password>zlmpassword</Password>
</LocalServer>
<Catalog>
<Name>rhel-x86_64-server-5</Name>
<Folder>RHEL5_x86_64/Updates</Folder>
<Target>rhel-5-x86_64</Target>
</Catalog>
</Session>
</ZLMMirrorConf>

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

/var/opt/novell/log/zenworks/zlmmirror.log
/var/opt/novell/log/zenworks/services-messages.log
/var/log/zmd-messages.log

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

Thanks

Dave