[ https://issues.apache.org/jira/browse/HIVE-5018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13741196#comment-13741196 ]
Brock Noland commented on HIVE-5018: ------------------------------------ The following command: {noformat} ant clean package test -Dtestcase=nothing {noformat} should catch those errors but I'd set this variables in your environment: {noformat} export ANT_OPTS="-Xmx1g -XX:MaxPermSize=256m" export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=256M" {noformat} > Avoiding object instantiation in loops (issue 6) > ------------------------------------------------ > > Key: HIVE-5018 > URL: https://issues.apache.org/jira/browse/HIVE-5018 > Project: Hive > Issue Type: Sub-task > Reporter: Benjamin Jakobus > Assignee: Benjamin Jakobus > Priority: Minor > Fix For: 0.12.0 > > Attachments: HIVE-5018.1.patch.txt > > > Object instantiation inside loops is very expensive. Where possible, object > references should be created outside the loop so that they can be reused. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira