Problem
We are getting the following error message:
Z-JAVA-105 Java exception java.lang.OutOfMemoryError("Java heap space"), method=spooler_process()Z
Unfortunately we have not been able change the value with "-Xmx" as we have not been able to localise the part of the application in which the memory overflow occurs.
Solution
Before we are able to make an exact diagnosis of the problem, we would require to know the following:
- Are you receiving this error message from the JobScheduler application itself or from one of the jobs being run by JobScheduler?
- Can you provide a scheduler.log file in which we can see where the error occurs?
- How does JobScheduler behave after this error occurs?
However, there are two situations where it is possible that you can avoid this error by increasing the "heap space" yourself:
- If your problem is occurring in a job, you can use the
java_options
attribute to increase the heap space at the job level. It would, however, be interesting for us to know whether this error occurs with one of the jobs the SOS GmbH has provided or whether it occurs with a custom job?
- If a main JobScheduler process is being allocated too little "heap space", you can read how to increase the heap space in this FAQ.