{"action":"closed","issue":{"url":"https://api.github.com/repos/BrightstarDB/BrightstarDB/issues/229","labels_url":"https://api.github.com/repos/BrightstarDB/BrightstarDB/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/BrightstarDB/BrightstarDB/issues/229/comments","events_url":"https://api.github.com/repos/BrightstarDB/BrightstarDB/issues/229/events","html_url":"https://github.com/BrightstarDB/BrightstarDB/issues/229","id":96859478,"number":229,"title":"Error getting memory status on Pi","user":{"login":"kal","id":70985,"avatar_url":"https://avatars.githubusercontent.com/u/70985?v=3","gravatar_id":"","url":"https://api.github.com/users/kal","html_url":"https://github.com/kal","followers_url":"https://api.github.com/users/kal/followers","following_url":"https://api.github.com/users/kal/following{/other_user}","gists_url":"https://api.github.com/users/kal/gists{/gist_id}","starred_url":"https://api.github.com/users/kal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kal/subscriptions","organizations_url":"https://api.github.com/users/kal/orgs","repos_url":"https://api.github.com/users/kal/repos","events_url":"https://api.github.com/users/kal/events{/privacy}","received_events_url":"https://api.github.com/users/kal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BrightstarDB/BrightstarDB/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/BrightstarDB/BrightstarDB/milestones/16","html_url":"https://github.com/BrightstarDB/BrightstarDB/milestones/1.11","labels_url":"https://api.github.com/repos/BrightstarDB/BrightstarDB/milestones/16/labels","id":1056041,"number":16,"title":"1.11","description":"","creator":{"login":"kal","id":70985,"avatar_url":"https://avatars.githubusercontent.com/u/70985?v=3","gravatar_id":"","url":"https://api.github.com/users/kal","html_url":"https://github.com/kal","followers_url":"https://api.github.com/users/kal/followers","following_url":"https://api.github.com/users/kal/following{/other_user}","gists_url":"https://api.github.com/users/kal/gists{/gist_id}","starred_url":"https://api.github.com/users/kal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kal/subscriptions","organizations_url":"https://api.github.com/users/kal/orgs","repos_url":"https://api.github.com/users/kal/repos","events_url":"https://api.github.com/users/kal/events{/privacy}","received_events_url":"https://api.github.com/users/kal/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":27,"state":"open","created_at":"2015-04-07T11:02:03Z","updated_at":"2015-07-29T08:20:03Z","due_on":"2015-07-30T23:00:00Z","closed_at":null},"comments":0,"created_at":"2015-07-23T17:07:11Z","updated_at":"2015-07-29T08:20:03Z","closed_at":"2015-07-29T08:20:03Z","body":"Stack trace when trying to import persondata_en.nt on RPi:\r\n```\r\nBrightstarDB Error: 400 : Error Processing Transaction System.EntryPointNotFound                    Exception: GlobalMemoryStatusEx\r\n  at (wrapper managed-to-native) BrightstarDB.Server.MemoryUtils:GlobalMemoryStatusEx (BrightstarDB.Server.MemoryUtils/MemoryStatusEx)\r\n  at BrightstarDB.Server.MemoryUtils.GetMemoryLoad () [0x00000] in <filename unknown>:0\r\n  at BrightstarDB.Rdf.StoreTripleSink.Triple (System.String subject, Boolean subjectIsBNode, System.String predicate, Boolean predicateIsBNode, System.String obj, Boolean objIsBNode, Boolean isLiteral, System.String dataType, System.String langCode, System.String graphUri) [0x00000] in <filename unknown>:0\r\n  at BrightstarDB.Server.ImportJob.Triple (System.String subject, Boolean subjectIsBNode, System.String predicate, Boolean predicateIsBNode, System.String obj, Boolean objIsBNode, Boolean objIsLiteral, System.String dataType, System.String langCode, System.String graphUri) [0x00000] in <filename unknown>:0\r\n  at BrightstarDB.Rdf.NTriplesParser.ParseLine (Int32 lineNumber, System.String line) [0x00000] in <filename unknown>:0\r\n    DateTime=2015-07-23T17:00:39.3023340+00:00\r\n```\r\nLooks like the root cause is an attempt to use a Windows native method call that is not implemented in the ARM build of Mono on the Pi. Ideally this should be fixed without having to introduce another conditional compilation step. Maybe it would be possible to just catch this exception the first time and then bypass any future calls ? "}}