waifu2x-metal icon indicating copy to clipboard operation
waifu2x-metal copied to clipboard

Out of buffer memory error

Open alikaylan opened this issue 7 years ago • 0 comments

Compiles and runs beautifully with XCode 8 or 9 with smaller files. But with larger jpeg and png images, runs out of memory allocated to metal buffer, and crashes.

32 32 64 64 128 Fatal error: MetalExecutionError: Error Domain=MTLCommandBufferErrorDomain Code=8 "Insufficient Memory (IOAF code 8)" UserInfo={NSLocalizedDescription=Insufficient Memory (IOAF code 8)}: file /Users/xxxx/Downloads/waifu/waifu2x-metal-master/waifu2x-metal/main.swift, line 261 Illegal instruction: 4

Any easy solutions to this?

alikaylan avatar Jan 07 '18 11:01 alikaylan