--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/43627af5-2984-40e5-81ea-7fae5dd5e9a2n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/f3f7f4c6-a71a-4cdd-afad-9eba9297108fn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/54b356a8-c531-4685-835e-07878a90e664n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/dfd62171-1208-4fca-994a-12ba3d624670n%40googlegroups.com.
Is there something found?
在2020年9月10日星期四 UTC+8 上午11:20:33<jeremy...@gmail.com> 写道:
sure, here you are.ResultSet resultSet = client.submit("g.V().valueMap(true)");Iterator<Result> iterator;if (iterator == null || !iterator.hasNext()){List<Result> results = null;try{results = resultSet.some(10).join();}iterator = results.iterator();if (iterator.hasNext()){System.out.println(iterator.next());}}
在2020年9月9日星期三 UTC+8 下午6:25:55<spmal...@gmail.com> 写道:
There are lots of ways to execute g.V().valueMap(true) - i think you said you were printing them out. Could you please provide a complete code example?
yes, I just executed g.V().valueMap(true), and I had about 20 million vertices. I gave JVM arguments -Xms512m -Xmx2g.
在2020年9月8日星期二 UTC+8 下午6:34:43<spmal...@gmail.com> 写道:
Sorry - when I asked for code, I was asking to see the code that you were executing that produces the OOM. Could you please include that?
Why I don't think it's a good way just because it can cause OOM. I've tried to change it to be a bounded queue. And it's slower than the raw way. Besides, I can't find more ways to replace that for now. Here is the code and the pictures of memory analysis when OOM happened.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/d1702a41-04da-4c33-8ba9-05008237c2f8n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/15384bda-6799-4894-aece-4034d3ee894an%40googlegroups.com.