【发布时间】:2013-02-07 00:36:11
【问题描述】:
当我尝试使用以下语句时
explain -brief A;
我收到以下错误
2013-02-06 19:18:34,250 [Low Memory Detector] INFO org.apache.pig.impl.util.SpillableMemoryManager - first memory handler call - Collection threshold init = 526123008(513792K) used = 349984528(341781K) committed = 699072512(682688K) max = 699072512(682688K)
2013-02-06 19:18:34,942 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2998: Unhandled internal error. Java heap space
我尝试通过添加选项来增加堆空间大小
-Dmapred.child.java.opts=-Xmx4096m
但它没有用。有什么想法吗?
谢谢。 丹
【问题讨论】:
-
那么最终的解决方案是什么?
标签: java heap-memory apache-pig