{"action":"created","issue":{"url":"https://api.github.com/repos/krenfro/fannj/issues/2","labels_url":"https://api.github.com/repos/krenfro/fannj/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/krenfro/fannj/issues/2/comments","events_url":"https://api.github.com/repos/krenfro/fannj/issues/2/events","html_url":"https://github.com/krenfro/fannj/issues/2","id":66914803,"number":2,"title":"FANN Error 11","user":{"login":"kript0n","id":2452028,"avatar_url":"https://avatars.githubusercontent.com/u/2452028?v=3","gravatar_id":"","url":"https://api.github.com/users/kript0n","html_url":"https://github.com/kript0n","followers_url":"https://api.github.com/users/kript0n/followers","following_url":"https://api.github.com/users/kript0n/following{/other_user}","gists_url":"https://api.github.com/users/kript0n/gists{/gist_id}","starred_url":"https://api.github.com/users/kript0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kript0n/subscriptions","organizations_url":"https://api.github.com/users/kript0n/orgs","repos_url":"https://api.github.com/users/kript0n/repos","events_url":"https://api.github.com/users/kript0n/events{/privacy}","received_events_url":"https://api.github.com/users/kript0n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-07T15:23:10Z","updated_at":"2015-04-07T15:49:08Z","closed_at":null,"body":"```\r\nimport java.util.ArrayList;\r\nimport java.util.List;\r\n\r\nimport com.googlecode.fannj.ActivationFunction;\r\nimport com.googlecode.fannj.Fann;\r\nimport com.googlecode.fannj.Layer;\r\n\r\npublic class FANNeuro {\r\n\r\n\t/**\r\n\t * @param args\r\n\t */\r\n\tpublic static void main(String[] args) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t\tList<Layer> layers =  new ArrayList<Layer>();\r\n\t\tlayers.add(Layer.create(5, ActivationFunction.FANN_SIGMOID_SYMMETRIC));\r\n\t\t\r\n\t\tFann fann =  new Fann(layers);\r\n\t}\r\n\r\n}\r\n```\r\n\r\nI get \"FANN Error 11: Unable to allocate memory\" as output. "},"comment":{"url":"https://api.github.com/repos/krenfro/fannj/issues/comments/90616643","html_url":"https://github.com/krenfro/fannj/issues/2#issuecomment-90616643","issue_url":"https://api.github.com/repos/krenfro/fannj/issues/2","id":90616643,"user":{"login":"krenfro","id":1387569,"avatar_url":"https://avatars.githubusercontent.com/u/1387569?v=3","gravatar_id":"","url":"https://api.github.com/users/krenfro","html_url":"https://github.com/krenfro","followers_url":"https://api.github.com/users/krenfro/followers","following_url":"https://api.github.com/users/krenfro/following{/other_user}","gists_url":"https://api.github.com/users/krenfro/gists{/gist_id}","starred_url":"https://api.github.com/users/krenfro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krenfro/subscriptions","organizations_url":"https://api.github.com/users/krenfro/orgs","repos_url":"https://api.github.com/users/krenfro/repos","events_url":"https://api.github.com/users/krenfro/events{/privacy}","received_events_url":"https://api.github.com/users/krenfro/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T15:49:08Z","updated_at":"2015-04-07T15:49:08Z","body":"I can duplicate the error.  I expect you need more than one layer in your ANN."}}