Skip to content
New issue

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

偶尔崩溃 #121

Open
wingswing1 opened this issue Aug 9, 2023 · 3 comments
Open

偶尔崩溃 #121

wingswing1 opened this issue Aug 9, 2023 · 3 comments
Labels
Helpless 🥀 无法完成 Issues can not be solved by the maintainer (Issues will be closed within one month) Reinforcement ✨ 强化 Issues for higher quality of being compatible Request For Help 🔮 请求帮助 That would be a great honor if anyone could offer some help

Comments

@wingswing1
Copy link

可能和系统有关,是MIUI14安卓13,偶尔崩溃
抓到了部分日志:
07:30:52.864/E: Failed to allocate a 80 byte allocation with 1669024 free bytes and 1629KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.

java.lang.OutOfMemoryError: Failed to allocate a 80 byte allocation with 1669024 free bytes and 1629KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC.
at org.mozilla.javascript.JavaMembers.reflect(JavaMembers.java:467)
at org.mozilla.javascript.JavaMembers.(JavaMembers.java:56)
at org.mozilla.javascript.JavaMembers_jdk11.(JavaMembers_jdk11.java:18)
at org.mozilla.javascript.JavaMembers.createJavaMembers(JavaMembers.java:827)
at org.mozilla.javascript.JavaMembers.lookupClass(JavaMembers.java:788)
at org.mozilla.javascript.NativeJavaClass.initMembers(NativeJavaClass.java:44)
at org.mozilla.javascript.NativeJavaObject.(NativeJavaObject.java:53)
at org.mozilla.javascript.NativeJavaClass.(NativeJavaClass.java:38)
at org.mozilla.javascript.NativeJavaClass.(NativeJavaClass.java:34)
at org.mozilla.javascript.WrapFactory.wrapJavaClass(WrapFactory.java:136)
at org.mozilla.javascript.NativeJavaPackage.getPkgProperty(NativeJavaPackage.java:115)
at org.mozilla.javascript.NativeJavaPackage.get(NativeJavaPackage.java:72)
at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2024)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1671)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1666)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1549)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1051)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:87)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:383)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3869)
at org.mozilla.javascript.Context.callFunctionWithContinuations(Context.java:1253)
at org.mozilla.javascript.Context.executeScriptWithContinuations(Context.java:1221)
at org.autojs.autojs.engine.RhinoJavaScriptEngine.init(RhinoJavaScriptEngine.kt:110)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine.init(LoopBasedJavaScriptEngine.java:101)
at org.autojs.autojs.execution.RunnableScriptExecution.prepare(RunnableScriptExecution.java:65)
at org.autojs.autojs.execution.RunnableScriptExecution.execute(RunnableScriptExecution.java:39)
at org.autojs.autojs.execution.RunnableScriptExecution.execute(RunnableScriptExecution.java:34)
at org.autojs.autojs.execution.RunnableScriptExecution.run(RunnableScriptExecution.java:28)
at java.lang.Thread.run(Thread.java:1012)
07:30:52.866/E: exception on exit: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean org.autojs.autojs.runtime.api.Events.emit(java.lang.String, java.lang.Object[])' on a null object reference

@CuteLicense
Copy link

内存溢出,是不是在重复处理图片,处理后没有及时释放

@wingswing1
Copy link
Author

wingswing1 commented Aug 10, 2023 via email

@SuperMonster003
Copy link
Owner

#148

@SuperMonster003 SuperMonster003 added Helpless 🥀 无法完成 Issues can not be solved by the maintainer (Issues will be closed within one month) Reinforcement ✨ 强化 Issues for higher quality of being compatible Request For Help 🔮 请求帮助 That would be a great honor if anyone could offer some help labels Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Helpless 🥀 无法完成 Issues can not be solved by the maintainer (Issues will be closed within one month) Reinforcement ✨ 强化 Issues for higher quality of being compatible Request For Help 🔮 请求帮助 That would be a great honor if anyone could offer some help
Projects
None yet
Development

No branches or pull requests

3 participants