[
https://issues.apache.org/jira/browse/GEODE-7656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17024647#comment-17024647
]
ASF subversion and git services commented on GEODE-7656:
--------------------------------------------------------
Commit d34d32335ab095b8c2ca8824c1304c1a9394a202 in geode's branch
refs/heads/develop from Bruce Schuchardt
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=d34d323 ]
GEODE-7656: OOME in CoreOnlyUsesMembershipAPIArchUnitTest >
cacheClassesDoNotUseMembershipInternals (#4628)
The ArchUnit class file importer's javadocs don't mention it but you
can't examine just a single package using a ClassFileImporter. It
always walks the subpackages of any package you give it and includes all
of the classes found there.
I've split off the "org.apache.geode" check into its own method and have
added a custom ImportOption that uses a Pattern to reject anything in a
sub-package of org.apache.geode or in the membership package (which is
needed for the API check). That reduced the number of classes being
examined from over 7700 to less than 300.
> OOME in CoreOnlyUsesMembershipAPIArchUnitTest >
> cacheClassesDoNotUseMembershipInternals
> ---------------------------------------------------------------------------------------
>
> Key: GEODE-7656
> URL: https://issues.apache.org/jira/browse/GEODE-7656
> Project: Geode
> Issue Type: Bug
> Components: membership
> Reporter: Dale Emery
> Assignee: Bruce J Schuchardt
> Priority: Major
> Fix For: 1.12.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Out of memory exception in CI:
> [https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/IntegrationTestOpenJDK8/builds/1421]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)