Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Mac OS "No space left on device" on local tests #157

Open
mdavydau opened this issue Feb 25, 2019 · 0 comments · May be fixed by zonkyio/embedded-postgres#42
Open

Mac OS "No space left on device" on local tests #157

mdavydau opened this issue Feb 25, 2019 · 0 comments · May be fixed by zonkyio/embedded-postgres#42

Comments

@mdavydau
Copy link

mdavydau commented Feb 25, 2019

Get FATAL on local tests.

FATAL:  could not create shared memory segment: No space left on device

DETAIL:  Failed system call was shmget(key=1, size=56, 03600).

HINT:  This error does *not* mean that you have run out of disk space.  It occurs either if all available shared memory IDs have been taken, in which case you need to raise the SHMMNI parameter in your kernel, or because the system's overall limit for shared memory has been reached.

	The PostgreSQL documentation contains more information about shared memory configuration.

child process exited with exit code 1
java 11
spring boot 2.1.3.RELEASE
        <dependency>
            <groupId>ru.yandex.qatools.embed</groupId>
            <artifactId>postgresql-embedded</artifactId>
            <version>${postgresql-embedded.version}</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>de.flapdoodle.embed</groupId>
                    <artifactId>de.flapdoodle.embed.process</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>de.flapdoodle.embed</groupId>
            <artifactId>de.flapdoodle.embed.process</artifactId>
            <version>2.0.5</version>
        </dependency>

Quick Fix:

Stop local postgres and run tests – issue disappears.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant