java.lang.OutOfMemory: Java Heap Space error when running backups

java.lang.OutOfMemory: Java Heap Space error when running backups

Hi All,
 
We recently moved our Service Desk 8207 onto a new Windows 2008 Server, I noticed that Backups fail to run due to the following error.
 

Please wait ! backup in Progress...................
0-----------------------50------------------------100(%)
=========================


stopping DB Server >>>>> false
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
 
We have updated our wrapper and startdb.bat files to suit 4GB (current server RAM) and 3GB, but we still receive the same error.
 
I cannot figure out why or what is causing this to fail. Our Win2008 server is exactly the same as our previous one, which is up to date.
 
Has anyone ever come across this before?
                New to ADManager Plus?

                  New to ADSelfService Plus?