{"action":"closed","issue":{"url":"https://api.github.com/repos/rCarto/osrm/issues/7","repository_url":"https://api.github.com/repos/rCarto/osrm","labels_url":"https://api.github.com/repos/rCarto/osrm/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/rCarto/osrm/issues/7/comments","events_url":"https://api.github.com/repos/rCarto/osrm/issues/7/events","html_url":"https://github.com/rCarto/osrm/issues/7","id":147039273,"number":7,"title":"Sending large requests to local server","user":{"login":"jorkku","id":18356233,"avatar_url":"https://avatars.githubusercontent.com/u/18356233?v=3","gravatar_id":"","url":"https://api.github.com/users/jorkku","html_url":"https://github.com/jorkku","followers_url":"https://api.github.com/users/jorkku/followers","following_url":"https://api.github.com/users/jorkku/following{/other_user}","gists_url":"https://api.github.com/users/jorkku/gists{/gist_id}","starred_url":"https://api.github.com/users/jorkku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorkku/subscriptions","organizations_url":"https://api.github.com/users/jorkku/orgs","repos_url":"https://api.github.com/users/jorkku/repos","events_url":"https://api.github.com/users/jorkku/events{/privacy}","received_events_url":"https://api.github.com/users/jorkku/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-08T21:03:24Z","updated_at":"2016-04-08T22:01:21Z","closed_at":"2016-04-08T22:01:21Z","body":"I've increased the maximum table size on my local server as\r\n`osrm-routed china-latest.osrm --max-table-size=1000`\r\nbut I still cannot use osrmTable() for more than ~200 locations (it fails somewhere between 201 and 250). The error I get is:\r\n`osrmTable function returns an error: \r\nError: lexical error: invalid char in json text.\r\n                                       <html>  <head><title>414 Reques\r\n                     (right here) ------^`\r\nThe test example I've used:\r\n```\r\nlibrary(osrm)\r\n\r\nmax_lat <- 40\r\nmin_lat <- 30\r\n\r\nmax_long <- 117\r\nmin_long <- 104\r\n\r\nn <- 201\r\n\r\nlong <- runif(n,min=min_long,max=max_long)\r\nlat <- runif(n,min=min_lat,max=max_lat)\r\nnames <- as.character(n)\r\n\r\nchina_mat <- data.frame(names,long,lat,stringsAsFactors = FALSE)\r\nresults <- osrmTable(china_mat,locId = \"names\",locLat = \"lat\",locLon = \"long\")\r\n```\r\n\r\nI can see from the server, that when osrmTable fails, the server does not get any request.\r\n\r\nWhat could be causing this issue? This question is somewhat related to the older issue #4."}}