{"action":"closed","issue":{"url":"https://api.github.com/repos/qasaur/gremgo/issues/8","repository_url":"https://api.github.com/repos/qasaur/gremgo","labels_url":"https://api.github.com/repos/qasaur/gremgo/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/qasaur/gremgo/issues/8/comments","events_url":"https://api.github.com/repos/qasaur/gremgo/issues/8/events","html_url":"https://github.com/qasaur/gremgo/issues/8","id":163028269,"number":8,"title":"Size limits on queries?","user":{"login":"kushal256","id":3527146,"avatar_url":"https://avatars.githubusercontent.com/u/3527146?v=3","gravatar_id":"","url":"https://api.github.com/users/kushal256","html_url":"https://github.com/kushal256","followers_url":"https://api.github.com/users/kushal256/followers","following_url":"https://api.github.com/users/kushal256/following{/other_user}","gists_url":"https://api.github.com/users/kushal256/gists{/gist_id}","starred_url":"https://api.github.com/users/kushal256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kushal256/subscriptions","organizations_url":"https://api.github.com/users/kushal256/orgs","repos_url":"https://api.github.com/users/kushal256/repos","events_url":"https://api.github.com/users/kushal256/events{/privacy}","received_events_url":"https://api.github.com/users/kushal256/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-06-29T21:14:53Z","updated_at":"2016-06-30T19:45:13Z","closed_at":"2016-06-30T19:45:13Z","body":"Seeing some size limitations on reading and writing, wondering if there are any limits that are configurable on client side?\r\n\r\nFor reading:\r\n\r\n\r\n    {\r\n\r\n\t\tfor i := 0; i < 2000; i++ {\r\n\t\t\tres, err := g.Execute(\r\n\t\t\t\tfmt.Sprintf(\"g.addV('label').property('testString','%v')\", i),\r\n\t\t\t\tnil)\r\n\t\t\tif err != nil {\r\n\t\t\t\tpanic(err)\r\n\t\t\t}\r\n\t\t\tfmt.Println(res)\r\n\t\t}\r\n\r\n\t\t{\r\n\t\t\tres, err := g.Execute(\r\n\t\t\t\t\"g.V().values('testString')\",\r\n\t\t\t\tnil) \r\n\t\t\tif err != nil {\r\n\t\t\t\tpanic(err)\r\n\t\t\t}\r\n\t\t\tfmt.Println(res)   //<---- Expecting 2000 rows, only seeing around 60.  Works via java driver, so don't think this is a setting with my gremlin server\r\n\t\t}\r\n\t}\r\n\r\n\r\n\r\n\r\nFor writing:\r\n\r\n    {\r\n\t\tlongString := \"\"\r\n\t\tfor i:=0 ;i<3900;i++{ //3800 works, but 3900 doesn't and returns error.  Didn't test this via java driver, can do so if it helps\r\n\t\t\tlongString += \"1\"\r\n\t\t\t//fmt.Println(\"longString = \", longString)\r\n\t\t}\r\n\t\tfmt.Println(\"len(longString) = \", len(longString))\r\n\r\n\t\tszLongInsert := fmt.Sprintf(\"g.addV('longStringInsert').property('testString','%v')\", longString)\r\n\t\tfmt.Println(\"len(szLongInsert) = \", len(szLongInsert))\r\n\t\tres, err := g.Execute(\r\n\t\t\tszLongInsert,\r\n\t\t\tnil)\r\n\t\tif err != nil { \r\n\t\t\tpanic(err)\r\n\t\t}\r\n\t\tfmt.Println(res)\r\n\t}"}}
{"actor":{"display_login":"qasaur"}}