admin管理员组文章数量:1407737
I have an account system using .NET C# and Vue.js, with the backend and frontend separated. It has been crashing lately, and I think the issue is due to the large amount of data. For each transaction I make, I need to refetch accounts to get the current account balance. I have 13,000 account rows.
commit('SET_ACCOUNTS', data.accounts)
SET_ACCOUNTS (state, accounts: Array<Account>) {
state.accounts = accounts
}
I store the data in IndexedDB, and there is still plenty of available memory.
The backend has no issues—it fetches data quickly and efficiently. The problem is on the frontend, but I'm not sure how to start debugging or optimizing it.
However, every time I perform a transaction, the system becomes very slow, my CPU usage goes above 90%, and then the page crashes with an "out of memory" error.
Is there any solution I could try?
本文标签: cFrontend Memory Issue in VuejsStack Overflow
版权声明:本文标题:c# - Frontend Memory Issue in Vue.js - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744668932a2618705.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论