Eebado
Contributors
Posts: 165
|
Post by Eebado on Mar 8, 2020 15:26:03 GMT
In my script I'm playing around with gathering efficiency metrics and sending them to my service for later analysis. These requests are sending about every 30 seconds. After 4 and a half hours (about 600 requests), Ankulua just dies. I assume it experiences an out of memory exception because you are storing each outgoing request in an unbounded list to later display, until you don't have enough memory, as which case, it then crashes. I think it would be sufficient to bound the list at about 50/100 and display a message at the end of the dialog saying (more requests not captured) or something.
This request is to either bound that request list so that the script doesn't crash, or somehow manage your memory better so that it doesn't crash.
|
|
|
Post by Shawn Dao on Mar 9, 2020 14:21:21 GMT
I'm having same issue. I'm sending image in base64 to server for text OCR. Ankulua just died after 15 minutes
|
|
Eebado
Contributors
Posts: 165
|
Post by Eebado on Mar 9, 2020 16:37:12 GMT
I'm having same issue. I'm sending image in base64 to server for text OCR. Ankulua just died after 15 minutes Ya it's not good. I understand the reason why AnkuLua created it like that -- so that users would know exactly what's sent over the wire. I think at some point it is acceptable to say "More was sent but we don't know what"
|
|
Eebado
Contributors
Posts: 165
|
Post by Eebado on Mar 13, 2020 15:31:51 GMT
|
|
|
Post by AnkuLua on Mar 13, 2020 22:56:16 GMT
Sorry. Security is the number one to consider. If possible, please share the case that you need to transfer a lot of data. It's better to share the pictures that you want to transfer. And why?
|
|
|
Post by Shawn Dao on Mar 14, 2020 4:32:39 GMT
Since the Ankulua doesnt support Text OCR so i need to take picture and send to server to process. Unfortunately, httpPost doesnt suppport file so i have to convert image to base64 and attach to the request body. The base64 of image quite large so it's make Ankulua crashed due to out of memory. Below is sample of image.
|
|
1001z
Junior Member
Posts: 51
|
Post by 1001z on Mar 18, 2020 21:58:18 GMT
I do the same, sending image to the server and OCR it.
Has problem also with memory.
But I fixed by using Beta version and restart player every 3 hours.
Anyway, good to fix it.
|
|
Eebado
Contributors
Posts: 165
|
Post by Eebado on Mar 19, 2020 15:41:38 GMT
I do the same, sending image to the server and OCR it. Has problem also with memory. But I fixed by using Beta version and restart player every 3 hours. Anyway, good to fix it. Glad you found something that works, but it's still a flaw in AnkuLua that should be fixed.
|
|
Eebado
Contributors
Posts: 165
|
Post by Eebado on Mar 19, 2020 15:43:36 GMT
Sorry. Security is the number one to consider. If possible, please share the case that you need to transfer a lot of data. It's better to share the pictures that you want to transfer. And why? I agree, security is priority. But how many people do you think actually scroll through 10,000+ lines of requests to see what's being sent? We have multiple valid reasons to be sending large packets of data over the network, all we're asking is for a bounded list to store the requests. Then if this limit is exceeded, just put a note saying that there were more requests sent that couldn't be captured.
|
|
|
Post by AnkuLua on Mar 19, 2020 22:50:06 GMT
Which OCR website did you use? Is the OCR in real time?
|
|
Eebado
Contributors
Posts: 165
|
Post by Eebado on Mar 20, 2020 17:21:30 GMT
Which OCR website did you use? Is the OCR in real time? Will the answer to these questions dicate whether you fix the app or not to not have an OutOfMemoryException when storing requests? From another point of view, AnkuLua, when the memory runs out from storing the Requests, NONE of the requests are shown to customers and they will never see what was sent. How is that better than showing a bounded list of items?
|
|
|
Post by AnkuLua on Mar 20, 2020 23:59:43 GMT
For the cases that you want to get the attributes of some heroes, there are other solutions than text OCR. You can search the attribute keyword images first. Then use number OCR to get the results. Share the screenshots, we will try to help.
|
|