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

runtime error "failed to allocate image memory!" when vkAllocateMemory. #45

Open
wuzf opened this issue Apr 6, 2022 · 9 comments
Open
Labels
bug Something isn't working platform: windows windows platfrom

Comments

@wuzf
Copy link

wuzf commented Apr 6, 2022

image

image

image

@hyv1001 hyv1001 added bug Something isn't working platform: windows windows platfrom labels Apr 6, 2022
@hanyangl5
Copy link

Is there any output message in terminal?

@BrokenTooth1989
Copy link

nvidia geforce 940MX 同样的问题。
image
exe直接打不开,闪退。

@BrokenTooth1989
Copy link

Is there any output message in terminal?

没有,直接exe打开就闪退了。

@wuzf
Copy link
Author

wuzf commented Apr 7, 2022

Is there any output message in terminal?

Nothing。

@wuzf
Copy link
Author

wuzf commented Apr 7, 2022

I comment the code about point light to let the pilot engine run first now.And waiting for your good news.
888c5ec049a6404e6e6a44cbe0ef3707
8219ead1855c0c7851f6fe18e7902b3e
image

@BoomingTech-YuqiaoZhang
Copy link
Contributor

Perhaps the shadow maps waste too much memory.

@wuzf
Copy link
Author

wuzf commented Apr 7, 2022

Perhaps the shadow maps waste too much memory.

allocation memory size = 503316480 = 480MB?See Figure 1.

@BrokenTooth1989
Copy link

BrokenTooth1989 commented Apr 7, 2022

Perhaps the shadow maps waste too much memory.

把2048改成1024 确实不抛异常 可以运行了。

@wuzf
Copy link
Author

wuzf commented Apr 8, 2022

Perhaps the shadow maps waste too much memory.

把2048改成1024 确实不抛异常 可以运行了。

Thanks.It works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform: windows windows platfrom
Projects
None yet
Development

No branches or pull requests

5 participants