[ 
https://issues.apache.org/jira/browse/PIG-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13795709#comment-13795709
 ] 

Rohini Palaniswamy commented on PIG-3517:
-----------------------------------------

Does ANT_OPTS="-XX:MaxPermSize=xxx" work with forked junit tests? I was running 
builds using -DdebugArgs="-XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=128M". 

It is good to have this fixed by default without having to specify manually.  
Not sure what the behaviour is when there are two jvmarg lines. 
http://ant.apache.org/manual/using.html#arg says either of value or line but 
not both.  If that is the case, can we do <jvmarg 
line="-XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=128M ${debugArgs}"/> ? 

> Fix PermGen error in Pig Unit test on Hadoop 2
> ----------------------------------------------
>
>                 Key: PIG-3517
>                 URL: https://issues.apache.org/jira/browse/PIG-3517
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.13.0
>
>         Attachments: PIG-3517-1.patch
>
>
> Hit PermGen error in Pig Unit test when testing Hadoop 2. We can use 
> ANT_OPTS="-XX:MaxPermSize=xxx" to make test work. But it is better to fix it 
> in build.xml.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to