Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed To Init IOURing: iouring_setup: cannot allocate memory #30

Open
ghost opened this issue Mar 27, 2024 · 1 comment
Open

Failed To Init IOURing: iouring_setup: cannot allocate memory #30

ghost opened this issue Mar 27, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 27, 2024

OS: Linux (Ubuntu 22.04 LTS)
Kernel Version: 6.5.0-26-generic #26~22.04.1-Ubuntu
Go Version: 1.21

code segment:
IOURing, err = iouring.New(10000)

if IOURing == nil {

	return false, err
}

while executing the above statement, many a times I encounter the IOURing object as nil and the err as: iouring_setup: cannot allocate memory. Can you help me find the RCA for this error.

@ghost
Copy link
Author

ghost commented Apr 1, 2024

@Iceber Please, help me with this issue.

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

No branches or pull requests

0 participants