Problem Note 42691: 'ERROR: DATA STEP Component Object failure. Aborted during the EXECUTION phase.
java.lang.OutOfMemoryError: Java heap space'
If you are loading exchange rates or exchange rate sets into SAS Financial Management Studio, you might see an error similar to the following in your log file:
ERROR: DATA STEP Component Object failure. Aborted during the EXECUTION phase.
java.lang.OutOfMemoryError: Java heap space
If you are running the load process from SAS Data Integration Studio, this would typically be written to the SAS Data Integration Studio log; if running the process as a Stored Process this would typically be written to the SASStoredProcessServer log; if you are submitting the job directly in a SAS session, this would typically be written to your SAS log.
This indicates that the process requires more system resources (RAM) than have been allocated. Check the 'Xmx' (maximum memory allocation) setting contained in the JREOPTIONS of the file
<drive>:\Program Files\SAS\SASFoundation\9.2\nls\en\SASV9.cfg
By default, this will typically be set to 128m (1.28 GB RAM allocated to the Java Virtual Machine - JVM - on which the SAS process runs).
There is not necessarily an exact science to this, so please try increasing this to 256m and re-submitting your job. If you still get the "java.lang.OutOfMemoryError", try increasing to 512m. If you still have problems after that, do not go any further, as something else is wrong. At that point, please contact SAS Technical Support for additional assistance.
Please note that you need to restart the SASObjectSpawner after changing this specific Xmx setting.
Operating System and Release Information
SAS System | SAS Financial Management | Microsoft® Windows® for x64 | 5.1 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 5.1 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 5.1 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Standard Edition | 5.1 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 for x64 | 5.1 | | 9.2 TS2M0 | |
Microsoft Windows Server 2008 for x64 | 5.1 | | 9.2 TS2M0 | |
Microsoft Windows XP Professional | 5.1 | | 9.2 TS2M0 | |
Windows Vista | 5.1 | | 9.2 TS2M0 | |
Windows Vista for x64 | 5.1 | | 9.2 TS2M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
This error might be encountered when loading exchange rates or exchange rate sets into SAS® Financial Management Studio, particularly if you are running the <etlxrate> macro.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2011-03-16 09:00:15 |
Date Created: | 2011-03-16 08:35:28 |