When I ran studio job. it is showing Cannot allocate memory error. how to slow this issues. kindly share your information.
Am using jvm argument also. This is my JVM -xms2048M -xmx13024M.
This might be a silly question, but how much memory does the machine you're running the job on have? And how much of that memory is free? If you're machine is overcommitted you might make things worse by adding an Xms value.
Also, the Xms and Xmx parameters need to be capitalised.
Could you share the log file that's created by the JRE as mentioned in the console?
I suspect your machine have 13GB ram..i.e 13024M. This is just because your machine doesn't have enough space to allocate. So reduce the JVM as below:
-Xmx13024M to -Xmx2048M or -Xmx4096M (Based on your machine RAM)
-Xms2048M to -Xms256M
Even if you are running this job on server -Xmx4096M is more than enough.
You can simply check from task manager>>performance (in windows).
Are you on some small AWS instance?