Piccolo icon indicating copy to clipboard operation
Piccolo copied to clipboard

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

Open wuzf opened this issue 2 years ago • 9 comments

image

image

image

wuzf avatar Apr 06 '22 14:04 wuzf

Is there any output message in terminal?

hanyangl5 avatar Apr 06 '22 16:04 hanyangl5

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

BrokenTooth1989 avatar Apr 06 '22 18:04 BrokenTooth1989

Is there any output message in terminal?

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

BrokenTooth1989 avatar Apr 06 '22 18:04 BrokenTooth1989

Is there any output message in terminal?

Nothing。

wuzf avatar Apr 07 '22 02:04 wuzf

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

wuzf avatar Apr 07 '22 04:04 wuzf

Perhaps the shadow maps waste too much memory.

BoomingTech-YuqiaoZhang avatar Apr 07 '22 06:04 BoomingTech-YuqiaoZhang

Perhaps the shadow maps waste too much memory.

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

wuzf avatar Apr 07 '22 08:04 wuzf

Perhaps the shadow maps waste too much memory.

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

BrokenTooth1989 avatar Apr 07 '22 16:04 BrokenTooth1989

Perhaps the shadow maps waste too much memory.

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

Thanks.It works now.

wuzf avatar Apr 08 '22 03:04 wuzf