artoolkitx / arunityx

artoolkitX for Unity, providing high-performance video acquisition, marker and texture tracking and full Unity Editor support
https://www.artoolkitx.org/
Other
41 stars 22 forks source link

iOS app - out of memory #7

Closed romkij closed 5 years ago

romkij commented 5 years ago

Hello! I can't run app to iOS with Unity3D, I get error in Xcode, when running app on device - "Out of memory".

Thank you!


2018-08-23 12:54:54.065377+0300 arbankx[10737:1217974] [info]   Read ImageSet.
2018-08-23 12:54:54.066458+0300 arbankx[10737:1217974] [info] Imageset contains 7 images.
2018-08-23 12:54:54.067365+0300 arbankx[10737:1217974] [error] Error reading JPEG file.
2018-08-23 12:54:54.067404+0300 arbankx[10737:1217974] [warning] Falling back to reading '/var/containers/Bundle/Application/A488DC6D-D322-4A9D-A134-FEE93F3F3891/arbankx.app/Data/Raw/gibraltar.iset' in ARToolKit v4.x format.
arbankx(10737,0x1b5c54b40) malloc: *** mach_vm_map(size=17833407189369618432) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
2018-08-23 12:54:54.068012+0300 arbankx[10737:1217974] [error] Out of memory!!```
chuen1118 commented 5 years ago

This might be the same issue as my post here and my solution.

philip-lamb commented 5 years ago

This was a bug which should be fixed in artoolkitX v1.0.5.