Memory leak in ExtJS [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have an ExtJS Sencha application that seems to have a client-side memory leak.
The only thing I don't know is how to take care of the stores. I've put autoDestroy: true on both of the stores I use - but I still get the leak.
Any suggestions?
Thanks in advance.

I think your stores are derived then you need to call base class clean up from your derived onDestroy()function otherwise it may get by-passed.Please refer extjs guidelines for memory leaks.

Related

Is there a way of detecting a hidden bug that only happens to specific person/hardware in react? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed last month.
Improve this question
Is there a way of detecting a bug that only happens with a specific person/ hardware within a React application? Cause the bug is undetectable and never happens with tests and etc, only happens with a specific client from my company.
Any clue on how to debug those kind of hidden/undetectable bugs ?
you can add something like https://sentry.io/ to capture errors in production, and get the stack trace of the error, and details like browser version, etc

Does jQuery uses states? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am having a hard time finding a good yet simple article on the 'behind the scenes' of jQuery. I know this is not simple though.
But does jQuery actually uses cycles and states like React does ? If not, what is it, in simple words ?
What is happening when jQuery does that ?
$('.netreviews_stats_stars_big').css('opacity', '0.2');
The DOM manipulation parts of jQuery do direct DOM manipulation. It doesn't take a data-driven approach like React so the idea of state in the React sense is meaningless.

Is there way to use Nest JS with Sapper (Svelte)? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I've been looking for the past few days, but I haven't found a single sample code or article that discusses how to combine (not separate them as API Service & Frontend Service) Nest JS with Sapper (Svelte). Does anyone have any references in this regard?
I struggled with the same issue and found this template repository on GitHub. I've tested it out and it works pretty well.
The only "downside" is that it uses Svelte instead of Sapper.

Best practices in creating Cordova plugins [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm still starting to create a Cordova plugin, I've read their documentation and an article on how to create one.
I found it simple and easy to create however, aside from creating I would like to know if what are the best practices and/or useful tools to be used for debugging and testing the plugin. Also what would the best OOP Javascript pattern to implement?
Thanks!

Memory usage in JavaScript/browser [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
This will be a bit strange question, but..
I am planning to use jQuery/knockout to write a dynamic custom wizard
which will depending on different scenarios will load different templates/UI logic to the user.
Question.
Should I take into consideration memory usage in this case? or should I manually unload/clean up/save to the server pieces of UI which is not in use??
PS. Current version of wizard will have 5-7 steps.
You should write your app the best you can functionally and then determine if memory is even an issue. If it is, then you can take steps to reduce it's memory footprint but odds are you'll be fine. For instance, go look at what a site like Facebook's memory usage, a site that everyone and their grandmother uses.

Categories