Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
RAJ6
Contributor III
Contributor III

Cannot allocate memory error showing while run job in studio

Hi Folks,

 

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.

0683p000009LsjU.jpg

Labels (2)
7 Replies
Anonymous
Not applicable

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?

Anonymous
Not applicable

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:

Xmx:

-Xmx13024M to -Xmx2048M  or -Xmx4096M (Based on your machine RAM)

Xms:

-Xms2048M to -Xms256M

 

Even if you are running this job on server -Xmx4096M is more than enough.

Regards,

Ajinkya

RAJ6
Contributor III
Contributor III
Author

Hi ,

I tried -xms256M -xmx2048M this JVM also . I have 16 Gb ram . I tried all the possibility with JVM and with out JVM. It's not working. Still am facing same issue
Anonymous
Not applicable

Then please check available memory. 0683p000009MACn.png

RAJ6
Contributor III
Contributor III
Author

How to check availability of memory.
Anonymous
Not applicable

You can simply check from task manager>>performance (in windows).

 

Are you on some small AWS instance?

Regards,

Ajinkya

Anonymous
Not applicable

Or in linux : free -h