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

Robert Muir commented on SOLR-5022:
-----------------------------------

{quote}
The tests add a variety of other dependencies and test jars and actually start 
up hdfs.
{quote}

But these account for ~2000 classes whereas the ones in solr.war account for 
~3000 classes.

I mean this explains why we see the issue, from a test environment this hadoop 
stuff nearly doubled the number of classes. But the "client code" stuff is 
heavy too (its still 3000 additional classes). 

Really if hadoop integration+tests were in a contrib module, we probably 
wouldnt even see the problem, or we could contain it, because its tests would 
run isolated in their own jvm(s). Maybe we should do that?

{noformat}
rmuir@beast:~/workspace/lucene-trunk/solr/test-framework/lib$ (for file in 
*.jar; do printf "$file\t" && (unzip -l $file | grep class | wc -l); done) | 
sort -nrk 2 -
ant-1.8.2.jar   1090
junit4-ant-2.0.10.jar   1038
hadoop-common-2.0.5-alpha-tests.jar     675
hadoop-hdfs-2.0.5-alpha-tests.jar       640
commons-collections-3.2.1.jar   458
jersey-core-1.16.jar    351
junit-4.10.jar  252
jetty-6.1.26.jar        237
randomizedtesting-runner-2.0.10.jar     142
jetty-util-6.1.26.jar   105
{noformat}
                
> PermGen exhausted test failures on Jenkins.
> -------------------------------------------
>
>                 Key: SOLR-5022
>                 URL: https://issues.apache.org/jira/browse/SOLR-5022
>             Project: Solr
>          Issue Type: Test
>          Components: Tests
>            Reporter: Mark Miller
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: 5.0, 4.4
>
>         Attachments: intern-count-win.txt, SOLR-5022.patch, 
> SOLR-5022-permgen.patch
>
>


--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to