Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Friends
Good Day
I have few questions regarding the xms and xmx parameters.
Kindly help me to clarify these doubts. Thanks in Advance
Regards,Vinoth
Hello,
If your tRunJob uses a separate process to run the child job then you'll have 2 java processes.
Xms mean that Java should allocate that much memory, so in your case depending on your settings it can be 512 to 1024 megabytes minimum.
Xmx mean that Java can allocate UP TO this amount of memory. In your case this could mean anywhere between 1 and 2 gigabytes of memory.
Hint if you're not storing a lot of data inside (no huge tMap lookups, excel files, etc) then most talend jobs could run 100 megabytes of memory.
If you enable Java flight recorder you can review the memory usage of your job. Or you can do it live via VisualVM: https://community.talend.com/s/article/Using-VisualVM-to-record-Java-Issues?language=en_US
This gives you the exact numbers, so no need to guesstimate.
Cheers,
Balázs
Hello,
During your job execution, does an OutOfMemory Java exception occur? Is it OK with you to allocate more memory to your job execution?
We will appreciate it a lot if you could give us more description and information about your current situation and the getting issue.
Best regards
Sabrina
Hello,
If your tRunJob uses a separate process to run the child job then you'll have 2 java processes.
Xms mean that Java should allocate that much memory, so in your case depending on your settings it can be 512 to 1024 megabytes minimum.
Xmx mean that Java can allocate UP TO this amount of memory. In your case this could mean anywhere between 1 and 2 gigabytes of memory.
Hint if you're not storing a lot of data inside (no huge tMap lookups, excel files, etc) then most talend jobs could run 100 megabytes of memory.
If you enable Java flight recorder you can review the memory usage of your job. Or you can do it live via VisualVM: https://community.talend.com/s/article/Using-VisualVM-to-record-Java-Issues?language=en_US
This gives you the exact numbers, so no need to guesstimate.
Cheers,
Balázs