{"action":"created","issue":{"url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/22","repository_url":"https://api.github.com/repos/twelve17/openalpr-ios","labels_url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/22/comments","events_url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/22/events","html_url":"https://github.com/twelve17/openalpr-ios/issues/22","id":145742968,"number":22,"title":"Terminated due to memory issue on physical device","user":{"login":"bradleygolden","id":7800494,"avatar_url":"https://avatars.githubusercontent.com/u/7800494?v=3","gravatar_id":"","url":"https://api.github.com/users/bradleygolden","html_url":"https://github.com/bradleygolden","followers_url":"https://api.github.com/users/bradleygolden/followers","following_url":"https://api.github.com/users/bradleygolden/following{/other_user}","gists_url":"https://api.github.com/users/bradleygolden/gists{/gist_id}","starred_url":"https://api.github.com/users/bradleygolden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradleygolden/subscriptions","organizations_url":"https://api.github.com/users/bradleygolden/orgs","repos_url":"https://api.github.com/users/bradleygolden/repos","events_url":"https://api.github.com/users/bradleygolden/events{/privacy}","received_events_url":"https://api.github.com/users/bradleygolden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-04T16:59:14Z","updated_at":"2016-04-09T21:18:03Z","closed_at":null,"body":"I've ran openalpr-ios on the simulator with success. Now I'm trying to run the project on an iPhone 6s (9.3.1) and each time I get the following output in my debug console:\r\n\r\n```\r\nMissing config value for runtime_dir\r\nMissing config value for detector\r\nMissing config value for detection_iteration_increase\r\nMissing config value for detection_strictness\r\nMissing config value for max_plate_width_percent\r\nMissing config value for max_plate_height_percent\r\nMissing config value for max_detection_input_width\r\nMissing config value for max_detection_input_height\r\nMissing config value for contrast_detection_threshold\r\nMissing config value for must_match_pattern\r\nMissing config value for skip_detection\r\nMissing config value for detection_mask_image\r\nMissing config value for analysis_count\r\nMissing config value for prewarp\r\nMissing config value for max_plate_angle_degrees\r\nMissing config value for ocr_img_size_percent\r\nMissing config value for state_id_img_size_percent\r\nMissing config value for ocr_min_font_point\r\nMissing config value for postprocess_min_confidence\r\nMissing config value for postprocess_confidence_skip_level\r\nMissing config value for debug_general\r\nMissing config value for debug_timing\r\nMissing config value for debug_prewarp\r\nMissing config value for debug_detector\r\nMissing config value for debug_state_id\r\nMissing config value for debug_plate_lines\r\nMissing config value for debug_plate_corners\r\nMissing config value for debug_char_segment\r\nMissing config value for debug_char_analysis\r\nMissing config value for debug_color_filter\r\nMissing config value for debug_ocr\r\nMissing config value for debug_postprocess\r\nMissing config value for debug_show_images\r\nMissing config value for debug_pause_on_frame\r\nMessage from debugger: Terminated due to memory issue\r\n```\r\n\r\nI've enabled the \"Address Sanitizer\" under the \"Diagnostics\" tab to determine if I could find where the memory issue is occurring. After enabling, Address Sanitizer break points in PlateScanner.mm at this point in the code:\r\n\r\n![screen shot 2016-04-04 at 11 43 55 am](https://cloud.githubusercontent.com/assets/7800494/14255636/9788ced4-fa5a-11e5-9f24-47ba35989a12.png)\r\n\r\nAddress Sanitizer outputs this error in the console:\r\n```\r\n==1173==ERROR: AddressSanitizer failed to allocate 0x215a4000 (559562752) bytes of LargeMmapAllocator (error code: 12)\r\n==1173==Process memory map follows:\r\n\t0x01955f4000-0x0195607000\t/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Libraries/libCGInterfaces.dylib\r\n\t0x01a19b4000-0x01a19b4034\t/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Libraries/libCGInterfaces.dylib\r\n\t0x01a00b0000-0x01a00b0bf8\t/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Libraries/libCGInterfaces.dylib\r\n\r\n...\r\n\r\n    #43 0x18865df6f in UIApplicationMain (/System/Library/Frameworks/UIKit.framework/UIKit+0x7df6f)\r\n    #44 0x100055f33 in main (/var/containers/Bundle/Application/EB9E5DE6-CC0E-4126-A8CB-BCBA8D423DF5/AlprSample.app/AlprSample+0x100011f33)\r\n    #45 0x182f268b7 in <redacted> (/usr/lib/system/libdyld.dylib+0x28b7)\r\n```\r\n\r\nI've noticed the app loads okay so long as I don't provide it an image, but this doesn't help me much. I'm not sure how to go about this issue."},"comment":{"url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/comments/207855201","html_url":"https://github.com/twelve17/openalpr-ios/issues/22#issuecomment-207855201","issue_url":"https://api.github.com/repos/twelve17/openalpr-ios/issues/22","id":207855201,"user":{"login":"alvinbaena","id":1265575,"avatar_url":"https://avatars.githubusercontent.com/u/1265575?v=3","gravatar_id":"","url":"https://api.github.com/users/alvinbaena","html_url":"https://github.com/alvinbaena","followers_url":"https://api.github.com/users/alvinbaena/followers","following_url":"https://api.github.com/users/alvinbaena/following{/other_user}","gists_url":"https://api.github.com/users/alvinbaena/gists{/gist_id}","starred_url":"https://api.github.com/users/alvinbaena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvinbaena/subscriptions","organizations_url":"https://api.github.com/users/alvinbaena/orgs","repos_url":"https://api.github.com/users/alvinbaena/repos","events_url":"https://api.github.com/users/alvinbaena/events{/privacy}","received_events_url":"https://api.github.com/users/alvinbaena/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T21:18:03Z","updated_at":"2016-04-09T21:18:03Z","body":"I'm also having the same issue, except I'm on an iPhone 4s with iOS 9.2.1."}}