We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
发送过大的图片会发送失败,内存占用会不断攀升,而且不会降低 比如正常的内存占用300M,多次发送失败后会攀升到500M,一次会增加二三十M的样子
降低了图片质量后不会发送失败,内存占用正常不会增加
占用内存的应该是JAVA进程,结束PYTHON进程释放正常数量的内存,结束JAVA进程会释放异常增加的内存
日志类似这样的
�[0m 09:50:51 [INFO] [NETWORK] Recv: RequireUpload(fileId=2211142780, uKey=[-89, -51, 52, -89, -107, 56, -97, 63, 14, 27, -31, -57, 114, 34, 96, -57, 67, -3, 79, -90, 105, 36, 20, 118, 8, 8, -45, -74, -64, 7, 118, -75, 101, 110, -85, 87, 88, -11, -81, 14, -121, -106, -15, -13, 27, -17, -121, -122, 45, -126, 51, -40, 105, -88, 2, -8, -58, 104, -61, 64, 35, 104, 76, 22, -27, 112, 2, 14, -38, 113, 126, 106, -81, -94, -59, -22, 25, -12, -102, 126, 90, 10, -70, 2, 109, 18, 31, -42, -76, -83, 118, 46, 10, -34, 4, 69, -97, 102, -25, -10, -81, -99, -73, -92, -113, 51, -45, -81, 43, 27, -69, 123, -57, 122, 6, 20, 121, -19, -41, -118, -66, -71, 125, 113, -81, -37, 115, -16])�[39;49m �[0m 09:50:51 [INFO] [NETWORK] [Highway] Uploading group image to 220.194.95.147:8080, size=58 B�[39;49m �[0m 09:50:51 [INFO] [NETWORK] [Highway] Uploading group image to 203.205.237.162:8080, size=58 B�[39;49m �[0m 09:50:51 [INFO] [NETWORK] [Highway] Uploading group image to 59.36.89.252:80, size=58 B�[39;49m �[0m 09:50:52 [INFO] [NETWORK] [Highway] Uploading group image to 123.150.76.168:443, size=58 B�[39;49m �[0m 09:50:53 �[38;5;196m[ERROR]�[39;49m [MiraiAPIHTTP] java.lang.IllegalStateException: cannot upload group image, failed on all servers. at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper.uploadImageToServers(HighwayHelper.kt:110) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImageToServers$2.invokeSuspend(HighwayHelper.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.flow.internal.SafeCollector.invokeSuspend(SafeCollector.kt:37) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) Caused by: java.lang.IllegalStateException: highway transfer failed, error 82 at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1.emit(Collect.kt:149) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1$1.invokeSuspend(Unknown Source) ... 6 more �[39;49m �[0m 09:50:58 [INFO] [NETWORK] Send: ImgStore.GroupPicUp�[39;49m �[0m 09:50:59 [INFO] [NETWORK] Recv: RequireUpload(fileId=2617240191, uKey=[75, 40, -32, 120, -117, -28, 100, 21, -91, 7, 117, 121, 114, -18, -87, -35, 72, 11, 27, 45, 18, 45, -8, 23, 2, -36, 42, 69, 5, 122, -66, 77, -30, 36, -19, -3, 68, -47, -5, -119, -91, -92, 85, 30, 97, -125, -46, 13, -80, 105, 113, 56, 14, -66, -86, -112, 100, -54, -81, 125, 73, -99, 18, 105, 6, -105, -24, 40, -14, -74, 81, -115, -44, 127, 59, 105, 10, 115, 112, -102, -80, -104, 6, 109, -5, -34, -25, 3, 107, 81, -88, -48, -10, 113, -79, -113, 8, -53, 69, -84, 45, 59, -36, 10, -126, 27, -33, 122, -122, -86, 64, 38, 1, 76, 65, -21, 73, 72, 80, -53, -22, -40, 106, -63, -84, 117, 39, 59])�[39;49m �[0m 09:50:59 [INFO] [NETWORK] [Highway] Uploading group image to 220.194.95.147:8080, size=58 B�[39;49m �[0m 09:50:59 [INFO] [NETWORK] [Highway] Uploading group image to 203.205.237.228:8080, size=58 B�[39;49m �[0m 09:50:59 [INFO] [NETWORK] [Highway] Uploading group image to 59.36.121.64:80, size=58 B�[39;49m �[0m 09:51:00 [INFO] [NETWORK] [Highway] Uploading group image to 123.151.190.162:443, size=58 B�[39;49m �[0m 09:51:02 �[38;5;196m[ERROR]�[39;49m [MiraiAPIHTTP] java.lang.IllegalStateException: cannot upload group image, failed on all servers. at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper.uploadImageToServers(HighwayHelper.kt:110) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImageToServers$2.invokeSuspend(HighwayHelper.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.flow.internal.SafeCollector.invokeSuspend(SafeCollector.kt:37) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) Caused by: java.lang.IllegalStateException: highway transfer failed, error 82 at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1.emit(Collect.kt:149) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1$1.invokeSuspend(Unknown Source) ... 6 more �[39;49m �[0m 09:51:07 [INFO] [BOT 1009383773] Event: GroupRecall(bot=Bot(1009383773), authorId=1009383773, messageId=105378, messageInternalId=1169644990, messageTime=1592833841, operator=Member(8482303), group=Group(2880722))�[39;49m �[0m 09:51:07 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:07 [INFO] [NETWORK] Send: ImgStore.GroupPicUp�[39;49m �[0m 09:51:08 [INFO] [NETWORK] Recv: RequireUpload(fileId=2258788079, uKey=[-112, -64, -35, 90, 111, 2, 66, 92, 110, -18, 27, -1, -25, -69, 92, -25, 80, 80, -104, 123, -88, 123, -70, -6, 32, -44, -114, 94, -41, 56, 100, -83, -100, 79, -123, 0, -127, -114, -38, 81, -92, -121, 90, 37, 101, 36, -100, -53, 22, -96, -91, -127, 96, -126, -93, -3, -7, -30, -6, 94, 119, -22, 76, -40, -48, 58, -36, -84, -23, -56, -68, -24, 52, -67, 70, -112, -101, -60, -71, 46, 83, 35, 21, -121, 116, 61, 97, -128, 64, -43, -56, 22, -42, 31, 91, 65, 11, -39, 68, 107, -5, 112, -14, -86, 124, 2, -73, 87, 122, 28, -62, -119, 38, 125, -30, -2, -94, 23, 26, -71, -104, 118, -59, -98, -100, -70, -116, 77])�[39;49m �[0m 09:51:08 [INFO] [NETWORK] [Highway] Uploading group image to 220.194.93.12:8080, size=58 B�[39;49m �[0m 09:51:10 [INFO] [BOT 1009383773] Event: GroupRecall(bot=Bot(1009383773), authorId=8482303, messageId=105379, messageInternalId=2014872193, messageTime=1592833850, operator=Member(8482303), group=Group(2880722))�[39;49m �[0m 09:51:10 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:10 [INFO] [NETWORK] [Highway] Uploading group image to 203.205.236.16:8080, size=58 B�[39;49m �[0m 09:51:11 [INFO] [NETWORK] [Highway] Uploading group image to 113.96.232.87:80, size=58 B�[39;49m �[0m 09:51:11 [INFO] [NETWORK] [Highway] Uploading group image to 123.151.190.162:443, size=58 B�[39;49m �[0m 09:51:11 �[38;5;196m[ERROR]�[39;49m [MiraiAPIHTTP] java.lang.IllegalStateException: cannot upload group image, failed on all servers. at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper.uploadImageToServers(HighwayHelper.kt:110) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImageToServers$2.invokeSuspend(HighwayHelper.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.flow.internal.SafeCollector.invokeSuspend(SafeCollector.kt:37) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) Caused by: java.lang.IllegalStateException: highway transfer failed, error 82 at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1.emit(Collect.kt:149) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1$1.invokeSuspend(Unknown Source) ... 6 more �[39;49m �[0m 09:51:13 [INFO] [BOT 1009383773] Event: GroupRecall(bot=Bot(1009383773), authorId=8482303, messageId=105377, messageInternalId=1384252639, messageTime=1592833836, operator=Member(8482303), group=Group(2880722))�[39;49m �[0m 09:51:13 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:15 [INFO] [NETWORK] Send: Heartbeat.Alive�[39;49m �[0m 09:51:15 [INFO] [NETWORK] Recv: Heartbeat.Alive.Response�[39;49m �[0m 09:51:16 [INFO] [BOT 1009383773] Event: GroupRecall(bot=Bot(1009383773), authorId=1009383773, messageId=105376, messageInternalId=209506226, messageTime=1592833823, operator=Member(8482303), group=Group(2880722))�[39;49m �[0m 09:51:16 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:16 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:16 [INFO] [NETWORK] Send: ImgStore.GroupPicUp�[39;49m �[0m 09:51:17 [INFO] [NETWORK] Recv: RequireUpload(fileId=2893661002, uKey=[-74, 107, 119, -64, 50, -86, -46, -5, -126, 84, -37, 91, -50, -55, 96, 91, -91, -41, -15, 36, 81, 68, 33, 114, 67, 114, -48, 29, 46, 126, -109, 8, -49, -77, 57, -127, 15, -36, -22, -49, -48, 47, -35, -104, 125, -106, -69, 96, 21, -7, -112, -59, 73, -32, -55, 53, -59, 113, 116, -33, 59, 121, -74, -115, -54, -94, -79, 51, 114, -119, -75, -55, 53, -7, -97, -34, 113, 3, 117, 30, -37, 0, -8, 99, 122, 27, 116, 101, 27, 125, -62, 98, -59, -108, -55, 74, -63, -8, 106, 45, 56, 78, 85, -19, 47, 28, 67, 95, -97, 79, 99, 58, -25, 120, -51, -88, 1, 0, -11, -70, -98, -126, 60, -7, -83, -125, 36, -113])�[39;49m �[0m 09:51:17 [INFO] [NETWORK] [Highway] Uploading group image to 220.194.111.178:8080, size=58 B�[39;49m �[0m 09:51:18 [INFO] [NETWORK] [Highway] Uploading group image to 203.205.237.249:8080, size=58 B�[39;49m �[0m 09:51:18 [INFO] [NETWORK] [Highway] Uploading group image to 183.3.225.58:80, size=58 B�[39;49m �[0m 09:51:18 [INFO] [NETWORK] [Highway] Uploading group image to 123.150.76.168:443, size=58 B�[39;49m �[0m 09:51:19 �[38;5;196m[ERROR]�[39;49m [MiraiAPIHTTP] java.lang.IllegalStateException: cannot upload group image, failed on all servers. at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper.uploadImageToServers(HighwayHelper.kt:110) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImageToServers$2.invokeSuspend(HighwayHelper.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.flow.internal.SafeCollector.invokeSuspend(SafeCollector.kt:37) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) Caused by: java.lang.IllegalStateException: highway transfer failed, error 82 at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1.emit(Collect.kt:149) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1$1.invokeSuspend(Unknown Source) ... 6 more �[39;49m �[0m 09:51:19 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:21 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:22 [INFO] [BOT 1009383773] Event: GroupRecall(bot=Bot(1009383773), authorId=8482303, messageId=105374, messageInternalId=1370415189, messageTime=1592833817, operator=Member(8482303), group=Group(2880722))�[39;49m �[0m 09:51:22 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:24 [INFO] [NETWORK] Send: ImgStore.GroupPicUp�[39;49m �[0m 09:51:24 [INFO] [NETWORK] Recv: RequireUpload(fileId=3000927842, uKey=[-123, 4, -76, -104, 4, 28, 102, 24, 45, -8, 69, 29, 120, -35, 7, 51, 33, -84, 87, 91, 127, 127, 119, -62, -9, -78, -71, -100, -47, 35, -99, -10, -53, -76, -105, 30, -53, -74, 1, 123, -25, 38, 24, -113, -119, 46, 96, -111, 7, 33, 93, -92, -128, -13, 122, -17, 15, 71, 99, -7, -72, -89, 92, 95, -4, 82, -67, 114, -65, 49, -117, 60, 55, -108, 99, 92, -65, 98, 51, 96, 125, 122, -128, 0, 75, -87, -41, -105, -90, -83, -106, -83, -55, -66, 78, 85, -3, -60, -22, -92, 97, -96, -36, 113, -72, -128, -41, -21, -55, 59, -9, -104, -80, -70, -60, -39, 77, 98, 123, 1, -59, 32, 89, -53, -31, 107, -40, -126])�[39;49m �[0m 09:51:24 [INFO] [NETWORK] [Highway] Uploading group image to 220.194.111.177:8080, size=58 B�[39;49m �[0m 09:51:24 [INFO] [BOT 1009383773] Event: GroupRecall(bot=Bot(1009383773), authorId=8482303, messageId=105373, messageInternalId=648423676, messageTime=1592833797, operator=Member(8482303), group=Group(2880722))�[39;49m �[0m 09:51:24 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:24 [INFO] [NETWORK] [Highway] Uploading group image to 203.205.236.16:8080, size=58 B�[39;49m �[0m 09:51:25 [INFO] [NETWORK] [Highway] Uploading group image to 183.3.233.227:80, size=58 B�[39;49m �[0m 09:51:25 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:26 [INFO] [NETWORK] [Highway] Uploading group image to 123.150.76.170:443, size=58 B�[39;49m �[0m 09:51:29 �[38;5;196m[ERROR]�[39;49m [MiraiAPIHTTP] java.lang.IllegalStateException: cannot upload group image, failed on all servers. at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper.uploadImageToServers(HighwayHelper.kt:110) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImageToServers$2.invokeSuspend(HighwayHelper.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.flow.internal.SafeCollector.invokeSuspend(SafeCollector.kt:37) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) Caused by: java.lang.IllegalStateException: highway transfer failed, error 82 at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1.emit(Collect.kt:149) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1$1.invokeSuspend(Unknown Source) ... 6 more �[39;49m �[0m 09:51:31 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:33 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:34 [INFO] [NETWORK] Send: ImgStore.GroupPicUp�[39;49m �[0m 09:51:34 [INFO] [NETWORK] Recv: RequireUpload(fileId=3129749845, uKey=[11, -45, -51, -36, -71, 108, -60, -64, 116, 80, 119, -68, 16, 80, 124, -25, 84, 116, -47, -37, 115, 56, 24, -78, 110, -34, -53, 66, 96, -100, -25, 97, 1, 79, 90, 88, 44, 73, 28, 84, -3, 105, -100, 61, 5, -18, -77, -63, -62, 79, 19, 55, 107, 72, 84, -48, -66, -44, -70, 68, -44, 79, 88, -98, -4, -115, 87, -40, -41, 28, -100, 48, -55, -83, -122, -75, -16, -15, 87, 124, -48, -24, 66, 112, 49, 5, 32, 32, -16, -9, -75, -56, -115, 46, -38, -35, 11, 54, -101, 24, 25, -35, 97, -96, 41, 94, -47, 38, 108, 66, 64, -101, 51, 47, -31, -27, 25, 45, -69, 19, 72, 0, 97, 109, 122, 79, 120, 42])�[39;49m �[0m 09:51:34 [INFO] [NETWORK] [Highway] Uploading group image to 220.194.93.125:8080, size=58 B�[39;49m �[0m 09:51:35 [INFO] [NETWORK] [Highway] Uploading group image to 203.205.236.76:8080, size=58 B�[39;49m �[0m 09:51:39 [INFO] [BOT 1009383773] Event: GroupRecall(bot=Bot(1009383773), authorId=1009383773, messageId=105375, messageInternalId=1489893556, messageTime=1592833819, operator=Member(8482303), group=Group(2880722))�[39;49m �[0m 09:51:39 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:51:47 [INFO] [NETWORK] Send: OnlinePush.RespPush�[39;49m �[0m 09:52:06 [INFO] [NETWORK] [Highway] Uploading group image to 183.3.235.188:80, size=58 B�[39;49m �[0m 09:52:07 [INFO] [NETWORK] [Highway] Uploading group image to 123.150.76.171:443, size=58 B�[39;49m �[0m 09:52:07 �[38;5;196m[ERROR]�[39;49m [MiraiAPIHTTP] java.lang.IllegalStateException: cannot upload group image, failed on all servers. at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper.uploadImageToServers(HighwayHelper.kt:110) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImageToServers$2.invokeSuspend(HighwayHelper.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.flow.internal.SafeCollector.invokeSuspend(SafeCollector.kt:37) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) Caused by: java.lang.IllegalStateException: highway transfer failed, error 82 at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1.emit(Collect.kt:149) at net.mamoe.mirai.qqandroid.network.highway.HighwayHelper$uploadImage$$inlined$use$lambda$1$1.invokeSuspend(Unknown Source) ... 6 more
The text was updated successfully, but these errors were encountered:
Fix memory leak on failure on image uploading (Fix #385, fix #387)
680dc0f
6d0f919
Him188
No branches or pull requests
发送过大的图片会发送失败,内存占用会不断攀升,而且不会降低
比如正常的内存占用300M,多次发送失败后会攀升到500M,一次会增加二三十M的样子
降低了图片质量后不会发送失败,内存占用正常不会增加
占用内存的应该是JAVA进程,结束PYTHON进程释放正常数量的内存,结束JAVA进程会释放异常增加的内存
日志类似这样的
The text was updated successfully, but these errors were encountered: