Java OutofMemory Exception while executing PIG commands in grunt shell
3 Answer(s)
DeZyre Support
hi Pramod,
Please go through this link http://javahowto.blogspot.in/2006/06/6-common-errors-in-setting-java-heap.html
Thanks
Sep 09 2014 04:23 PM
Please go through this link http://javahowto.blogspot.in/2006/06/6-common-errors-in-setting-java-heap.html
Thanks
Pramod Reddy
HI,
Thanks for your response.
what should be the values that I can provide for minHeap and MaxHeap values, so that I would not get OutofMemory exception again, provided my clouderaVM has 3GB Memory allocated.
Having minHeap as 512MB and MaxHeap as 1024MB will help me in this case?
Thanks,
Pramod
Sep 09 2014 09:36 PM
Thanks for your response.
what should be the values that I can provide for minHeap and MaxHeap values, so that I would not get OutofMemory exception again, provided my clouderaVM has 3GB Memory allocated.
Having minHeap as 512MB and MaxHeap as 1024MB will help me in this case?
Thanks,
Pramod
DeZyre Support
hi Pramod,
We are not sure what kind of data is being loaded into PIG shell which is taking giving the error message. There are two things which you can try out
- Move to the original setting of minHeap and MaxHeap and restart VM.
- If this doesn't help, try with 512 and 1024MB.
Thanks
Sep 10 2014 04:45 PM
We are not sure what kind of data is being loaded into PIG shell which is taking giving the error message. There are two things which you can try out
- Move to the original setting of minHeap and MaxHeap and restart VM.
- If this doesn't help, try with 512 and 1024MB.
Thanks