memory-leaks

CDI | Application / Dependent Scope | Memory Leak - javax.enterprise.inject.Instance<T> Not Garbage Collected

被刻印的时光 ゝ 提交于 2020-08-24 08:17:59
问题 I am using Instance as a lazy / dynamic injector in a TomEE Java application, and I have noticed a memory leak in my application. This is a first for me, so it's actually surprising to see a memory leak warning that has been outlined in the Java EE Library : package javax.enterprise.inject; public interface Instance<T> extends Iterable<T>, Provider<T> { /** * Destroy the given Contextual Instance. * This is especially intended for {@link javax.enterprise.context.Dependent} scoped beans *

CDI | Application / Dependent Scope | Memory Leak - javax.enterprise.inject.Instance<T> Not Garbage Collected

杀马特。学长 韩版系。学妹 提交于 2020-08-24 08:17:19
问题 I am using Instance as a lazy / dynamic injector in a TomEE Java application, and I have noticed a memory leak in my application. This is a first for me, so it's actually surprising to see a memory leak warning that has been outlined in the Java EE Library : package javax.enterprise.inject; public interface Instance<T> extends Iterable<T>, Provider<T> { /** * Destroy the given Contextual Instance. * This is especially intended for {@link javax.enterprise.context.Dependent} scoped beans *

android.support.constraint.ConstraintLayout has leaked:

北城以北 提交于 2020-08-24 07:09:08
问题 I'm using LeakCanary to detect memory leaks in an app. I successfully identified and fixed some leaks using it, but I am struggling find the root of this leak: * android.support.constraint.ConstraintLayout has leaked: * Toast$TN.mNextView * ↳ LinearLayout.mContext * ↳ HomeActivity.!(mDelegate)! * ↳ AppCompatDelegateImplN.!(mActionBar)! * ↳ ToolbarActionBar.!(mDecorToolbar)! * ↳ ToolbarWidgetWrapper.!(mToolbar)! * ↳ Toolbar.mParent * ↳ ConstraintLayout * Reference Key: 552b5bc5-409d-44c4-8412

Quartz : Memory Leak?

非 Y 不嫁゛ 提交于 2020-08-19 04:27:09
问题 I am using Quartz to run a job every hour. The servlet is running on Tomcat and I am using the ServletConextListener to listen for when the context is destroyed. When I shut down tomcat, I get the message: "appears to have started a thread named [MyScheduler_Worker-1] but has failed to stop it". But later I see this message: "[DEBUG] 28 Sep 11:45:26.671 AM MyScheduler_Worker-1 [org.quartz.simpl.SimpleThreadPool] WorkerThread is shut down." So is it safe to assume that there is no memory leak

Unmanaged Memory Profiling for UWP applications?

大城市里の小女人 提交于 2020-08-10 20:11:05
问题 I have been on the search to find a tool or a technique or anything that could help me find which objects from my UWP application is allocating on unmanaged heap memory. I tried looking at WPR/WPA combination for tracing object. But, did not find anything useful there. (If you have any good links for UWP/WPF apps with this combo, please share) I installed Ant Memory profiler , but they do not seem to have any option for Windows Store apps anymore. I checked .NET memory profiler , when I try