| Summary: | ISPN test suite fails on Unix due to memory issues | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | Vojtech Juranek <vjuranek> |
| Component: | TestSuite | Assignee: | Tristan Tarrant <ttarrant> |
| Status: | NEW --- | QA Contact: | Martin Gencur <mgencur> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | jdg-bugs, ttarrant |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | sparc64 | ||
| OS: | Solaris | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Vojtech Juranek
2013-12-11 09:06:57 UTC
PR #2290 [1] seems to help, not sure it if fixes the issue completely, though [1] https://github.com/infinispan/infinispan/pull/2290 Possible root cause is that Solaris use fork() which creates deep copy of process: http://docs.oracle.com/cd/E19455-01/806-5257/6je9h0341/index.html Similar memory issue happens on HP-UX: it fails after some time with Caused by: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:714) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1590) at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:333) at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleWithFixedDelay(ScheduledThreadPoolExecutor.java:594) at java.util.concurrent.Executors$DelegatedScheduledExecutorService.scheduleWithFixedDelay(Executors.java:698) at org.infinispan.executors.LazyInitializingScheduledExecutorService.scheduleWithFixedDelay(LazyInitializingScheduledExecutorService.java:145) at org.infinispan.eviction.EvictionManagerImpl.start(EvictionManagerImpl.java:78) at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168) ... 57 more Obviously not insufficient memory issue - happens also on machine wih ~ 180GB RAM. I.e. some setup (env. or test) issue. Lowering stack size to 264k (-Xss264k) seems to fix the problem on HP. It seems to work also with 512k. |