Check the datastage installation 32 bit or 64 bit
$ . ./dsenv
$ file $APT_ORCHHOME/bin/osh
Try to execute the below command to find out the maximum size of allowable heap size for the environment.
java -Xmx4096m myClass
If it can not be loaded then go to AppServer and check wsadmin
vi /home/IBM/WebSphere/AppServer/bin/wsadmin.sh
search for PLATFORM and try to find Linux PREF_JVM_OPTION and check if MaxPermSize is set or not.
Now set the heap_size in the properties of Hierarchical stage as 4096 mb which was by default 256mb
$ . ./dsenv
$ file $APT_ORCHHOME/bin/osh
Try to execute the below command to find out the maximum size of allowable heap size for the environment.
java -Xmx4096m myClass
If it can not be loaded then go to AppServer and check wsadmin
vi /home/IBM/WebSphere/AppServer/bin/wsadmin.sh
search for PLATFORM and try to find Linux PREF_JVM_OPTION and check if MaxPermSize is set or not.
Now set the heap_size in the properties of Hierarchical stage as 4096 mb which was by default 256mb