Pig : java.lang.OutOfMemoryError: Java Heap Space


2 Answer(s)


Hi Mrunalini,
The memory on the VM is limited and this will cause memory issues if you are trying to process huge files. I suggest that you try with smaller files .

Let us know if you still find issues.

Thanks

How does one deal with that? I am just trying to do assignment1 with the dataset given by you.
Also, my laptop has got 16 GM RAM. I tried allocating more to the VM. Maybe I am not doing it right?