[JBoss JIRA] (ISPN-8478) Reduce build memory usage
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-8478?page=com.atlassian.jira.plugin.... ]
Dan Berindei commented on ISPN-8478:
------------------------------------
I modified `AbstractInfinispanTest.destroy()` to set cache-like fields to {{null}} in all the tests, and that greatly reduced the amount of memory the core test suite needs.
> Reduce build memory usage
> -------------------------
>
> Key: ISPN-8478
> URL: https://issues.jboss.org/browse/ISPN-8478
> Project: Infinispan
> Issue Type: Task
> Components: Build
> Affects Versions: 9.2.0.Alpha2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.2.0.CR3
>
>
> The CI Maven process runs without a max heap parameter, so it can use up to 1/4 of agent RAM. It should run with a specific limit and so should all the other JVMs it spawns: the surefire fork, Karaf containers, WildFly servers etc.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-8850) NPE in ConsistentHashV2IntegrationTest.cleanUp
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-8850?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-8850:
-------------------------------
Status: Open (was: New)
> NPE in ConsistentHashV2IntegrationTest.cleanUp
> ----------------------------------------------
>
> Key: ISPN-8850
> URL: https://issues.jboss.org/browse/ISPN-8850
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 9.2.0.CR1
> Reporter: Adrian Nistor
> Assignee: Dan Berindei
> Attachments: infinispan-infinispan-client-hotrod.log
>
>
> {code}
> ERROR] Tests run: 3262, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 293.915 s <<< FAILURE! - in TestSuite
> [ERROR] cleanUp(org.infinispan.client.hotrod.ConsistentHashV2IntegrationTest) Time elapsed: 0.062 s <<< FAILURE!
> java.lang.NullPointerException
> at org.infinispan.client.hotrod.ConsistentHashV2IntegrationTest.cleanUp(ConsistentHashV2IntegrationTest.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
> at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
> at org.testng.TestRunner.afterRun(TestRunner.java:1023)
> at org.testng.TestRunner.run(TestRunner.java:628)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:39)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:393)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] ConsistentHashV2IntegrationTest.cleanUp:102 NullPointer
> [INFO]
> [ERROR] Tests run: 3262, Failures: 1, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-8856) Exception eviction off heap size calculation always assumes eviction enabled
by William Burns (JIRA)
William Burns created ISPN-8856:
-----------------------------------
Summary: Exception eviction off heap size calculation always assumes eviction enabled
Key: ISPN-8856
URL: https://issues.jboss.org/browse/ISPN-8856
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.2.0.CR2
Reporter: William Burns
Assignee: William Burns
Fix For: 9.2.0.CR3
The new exception based eviction uses MemoryConfiguration.isEvicitionEnabled, which wasn't updated to take into account exception based eviction. This is causing off heap to estimate 24 bytes extra per entry.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month