Re: [akka-user][deprecated] akka use iterator outofMemory

2018-11-08 Thread Tomas Jason
thanks ;-), this is caused by the large transaction of the database and has been solved by split block transfer. Brian Maso 于2018年11月8日周四 下午10:25写道: > Which method is throwing the exception? Is it stream.read()? If so, then I > would guess that the stream.read() implementation is caching a lot o

Re: [akka-user][deprecated] akka use iterator outofMemory

2018-11-08 Thread Brian Maso
Which method is throwing the exception? Is it stream.read()? If so, then I would guess that the stream.read() implementation is caching a lot of data in memory. In any event, I don't think there's enough information in your code to determine the cause of your problem. You probably need to use a pr

[akka-user][deprecated] akka use iterator outofMemory

2018-11-08 Thread 491537461q
Hello,Every Hacker: I am a junior software engineer. I tried to rewrite Stream as a sink and found that when I read a large update of the database, I throw an exception OutOfMemory. Can anyone give me some advice? Why am I wrong, thanks :-) def run(url: String, user: String, password: String, r