{"action":"created","issue":{"url":"https://api.github.com/repos/phayes/geoPHP/issues/98","labels_url":"https://api.github.com/repos/phayes/geoPHP/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/phayes/geoPHP/issues/98/comments","events_url":"https://api.github.com/repos/phayes/geoPHP/issues/98/events","html_url":"https://github.com/phayes/geoPHP/issues/98","id":57104142,"number":98,"title":"chasing an out-of-memory issue","user":{"login":"jdetwile","id":10931483,"avatar_url":"https://avatars.githubusercontent.com/u/10931483?v=3","gravatar_id":"","url":"https://api.github.com/users/jdetwile","html_url":"https://github.com/jdetwile","followers_url":"https://api.github.com/users/jdetwile/followers","following_url":"https://api.github.com/users/jdetwile/following{/other_user}","gists_url":"https://api.github.com/users/jdetwile/gists{/gist_id}","starred_url":"https://api.github.com/users/jdetwile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdetwile/subscriptions","organizations_url":"https://api.github.com/users/jdetwile/orgs","repos_url":"https://api.github.com/users/jdetwile/repos","events_url":"https://api.github.com/users/jdetwile/events{/privacy}","received_events_url":"https://api.github.com/users/jdetwile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T23:02:35Z","updated_at":"2015-02-09T23:08:11Z","closed_at":null,"body":"Is there anything in the geoPHP libraries which could be setting a limit on memory allocation?\r\n\r\nI'm using the geoPHP library (phayes-geoPHP-77f5f03) in a remotely-hosted environment.  Upon loading a large geometry, I get a fatal Out of memory error (below) at about 64M.  But phpinfo() says the memory limit is 256M.\r\n\r\nSo the hosting tech wants to know if \"I\" am doing anything to reduce that limit.\r\n\r\nAny ideas??\r\nThanks!!\r\n\r\n<clip from console>\r\nFatal error: Out of memory (allocated 6553600) (tried to allocate 71 bytes) in /home/marcellu/php_standalone/geography_Feb2015/php_code/phayes-geoPHP-77f5f03/lib/geometry/Collection.class.php on line 26\r\n</clip>\r\n\r\n<clip from phpinfo()>\r\nmax_execution_time => 0 => 0\r\nmax_file_uploads => 20 => 20\r\nmax_input_nesting_level => 64 => 64\r\nmax_input_time => -1 => -1\r\nmax_input_vars => 1000 => 1000\r\nmemory_limit => 256M => 256M\r\n</clip>\r\n\r\nThanks!\r\nJohn Detwiler\r\nPittsburgh, PA (USA)"},"comment":{"url":"https://api.github.com/repos/phayes/geoPHP/issues/comments/73610868","html_url":"https://github.com/phayes/geoPHP/issues/98#issuecomment-73610868","issue_url":"https://api.github.com/repos/phayes/geoPHP/issues/98","id":73610868,"user":{"login":"jdetwile","id":10931483,"avatar_url":"https://avatars.githubusercontent.com/u/10931483?v=3","gravatar_id":"","url":"https://api.github.com/users/jdetwile","html_url":"https://github.com/jdetwile","followers_url":"https://api.github.com/users/jdetwile/followers","following_url":"https://api.github.com/users/jdetwile/following{/other_user}","gists_url":"https://api.github.com/users/jdetwile/gists{/gist_id}","starred_url":"https://api.github.com/users/jdetwile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdetwile/subscriptions","organizations_url":"https://api.github.com/users/jdetwile/orgs","repos_url":"https://api.github.com/users/jdetwile/repos","events_url":"https://api.github.com/users/jdetwile/events{/privacy}","received_events_url":"https://api.github.com/users/jdetwile/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T23:08:11Z","updated_at":"2015-02-09T23:08:11Z","body":"Should have said:   \"I'm trying to use 'within' method on a geometry that describes the watershed of the Allegheny River.  There are several thousand points in the polygon.   But I have run my code on a test case, with a simple square polygon; and it returns correct results for 'within' on my simple test data.\""}}