admin管理员组文章数量:1304889
I am running a Java Azure Function App with a Blob Trigger on an App Service Plan. However, I have noticed that after each function invocation and successful completion, the memory usage remains high and does not decrease. This behavior persists even when the function becomes idle.
Are there specific JVM configurations or Azure Function settings to enforce better memory cleanup?
I am running a Java Azure Function App with a Blob Trigger on an App Service Plan. However, I have noticed that after each function invocation and successful completion, the memory usage remains high and does not decrease. This behavior persists even when the function becomes idle.
Are there specific JVM configurations or Azure Function settings to enforce better memory cleanup?
Share Improve this question asked Feb 3 at 21:21 Denis KisinaDenis Kisina 4048 silver badges23 bronze badges 1- Provide your function code. – Pravallika KV Commented Feb 7 at 3:39
1 Answer
Reset to default 1- Turn off
Always on
underFunctionApp=>Settings=>Configuration=>General Settings
and check if the memory usage is still high:
- Check the memory usage of the function under
Function App=>Diagnose and solve problems=>Memory Analysis
:
- Try setting
-ioty.noPreferDirect: false
andioty.maxDirectMemory: -1
, refer GitHub issue.
I have created a Java Blob Triggered Azure function App with App Service Plan and observed the memory usage.
Uploaded two files to the Storage Container and the metrics of function App is below: Metrics:
And the function App started to utilize the memory after restarting it.
本文标签: Java Azure Function App Blob Trigger – Memory Not Released After InvocationStack Overflow
版权声明:本文标题:Java Azure Function App Blob Trigger – Memory Not Released After Invocation - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741797257a2398007.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论