[JAVA-3709] Evergreen builds can fail to allocate native memory Created: 22/Apr/20 Updated: 28/Oct/23 Resolved: 23/Apr/20 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
Occasionally Evergreen builds fail with the following error:
It seems correlated with variants that enable zlib compression. Googling around a bit the only thing potentially useful I found was https://bugs.openjdk.java.net/browse/JDK-8187709, which links to https://blogs.oracle.com/poonam/running-on-a-64bit-platform-and-still-running-out-of-memory. Based on those source there are a couple of things we can try:
Based on the hot spot log file (attached), it does seem like we are low on memory, so we can try using a server with more physical memory available. |
| Comments |
| Comment by Githook User [ 24/Apr/20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Use larger servers to run zlib tests in order to avoid memory exhaustion
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Githook User [ 23/Apr/20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Use larger servers to run zlib tests in order to avoid memory exhaustion
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Jeffrey Yemin [ 22/Apr/20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
From the hot spot log file (attached):
|