-
Notifications
You must be signed in to change notification settings - Fork 889
Troubleshooting
Martin Thompson edited this page Jul 2, 2022
·
1 revision
-
On linux, the subscriber sample throws an exception
java.lang.InternalError(a fault occurred in a recent unsafe memory access operation in compiled Java code)
This is actually an out of disk space issue.
To alleviate, check to make sure you have enough disk space.
In the samples, on Linux, this will probably be either at
/dev/shm/aeron
or/tmp/aeron
(depending on your settings).See this thread for a similar problem.
Note: if you are trying to run this inside a Linux Docker, be aware that, by default, Docker only allocates 64 MB to the shared memory space at
/dev/shm
. However, the samples will quickly outgrow this.You can work around this issue by using the
--shm-size
argument fordocker run
orshm_size
indocker-compose.yaml
.