[JAVA-3576] Evergreen failed due to OOM error Created: 06/Jan/20  Updated: 22/Jan/20  Resolved: 22/Jan/20

Status: Closed
Project: Java Driver
Component/s: Test Failure
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000007a9d00000, 19398656, 0) failed; error='Cannot allocate memory' (errno=12)
[2020/01/06 13:21:41.352] > Task :driver-reactive-streams:test
[2020/01/06 13:21:41.352] #
[2020/01/06 13:21:41.352] # There is insufficient memory for the Java Runtime Environment to continue.
[2020/01/06 13:21:41.352] # Native memory allocation (mmap) failed to map 19398656 bytes for committing reserved memory.
[2020/01/06 13:21:41.352] # An error report file with more information is saved as:
[2020/01/06 13:21:41.352] # /data/mci/d08b5b4d4244e6245ac324cdfb78bdcd/src/driver-reactive-streams/hs_err_pid3931.log
[2020/01/06 13:21:41.645] [33m_[0m should round trip with small chunks (36054 ms)

Investigate the cause of the error and ensure any log files are saved to s3



 Comments   
Comment by Ross Lawley [ 22/Jan/20 ]

Updating the heap seems to have had some impact. However further OOM errors have been observed with zlib. However, the stack trace hasn't provided any further insights.

Closing due to end of time box.

Comment by Githook User [ 16/Jan/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Test: Increased the max heap to 4g.

JAVA-3576
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/7b4207a1cf1bba7350c37763b8c99b541c27b5b2

Comment by Ross Lawley [ 10/Jan/20 ]

Back to the drawing board - turning off compressed oops didn't fix it.

Comment by Ross Lawley [ 10/Jan/20 ]

PR: https://github.com/rozza/mongo-java-driver/pull/348

Generated at Thu Feb 08 08:59:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.