SmartGWT Power Edition version
I have developed an application and use Firefox. And per checking vs about:memory and find the memory usage of that URL accumulate continues from 27M to over 200M until the application halt and no response after clicking several record and loaded data from server to client.
I have already narrowed down the issue as following
I have a search form that get the list grid, when double click the record on the search result listgrid, it will open/refocus a Tab.
Inside the Tab, I use ValuesManager with add ~ 7-8 DynamicForms and ~ 100 fields, several ListGrid for child object. And when click the record in the result list grid, it will call editRecord and display the data onto the ValuesManager of the Tab.
And When I click the first record in result list grid, the memory usage go from 27 to 40 and after some callback complete, it get back to 37,... and to continue click other, it continue to increase until it go to ~ 200M or 300M (in about:memory), the application become slow response and cannot proceed any more, we need to close the browser and start the Firefox again.
We have tried closing the Tab but the memory not release in client side
So I suspect that there is some memory leakage when I use ValuesManager as well as to call editRecord() for multiple records loading. So I want to check is there any possible,
1. how can I check out the association that cannot detact after destroy?
2. how to force clear up or destroy the ValuesManager so that I can release the objects... and free up the memory?
I have developed an application and use Firefox. And per checking vs about:memory and find the memory usage of that URL accumulate continues from 27M to over 200M until the application halt and no response after clicking several record and loaded data from server to client.
I have already narrowed down the issue as following
I have a search form that get the list grid, when double click the record on the search result listgrid, it will open/refocus a Tab.
Inside the Tab, I use ValuesManager with add ~ 7-8 DynamicForms and ~ 100 fields, several ListGrid for child object. And when click the record in the result list grid, it will call editRecord and display the data onto the ValuesManager of the Tab.
And When I click the first record in result list grid, the memory usage go from 27 to 40 and after some callback complete, it get back to 37,... and to continue click other, it continue to increase until it go to ~ 200M or 300M (in about:memory), the application become slow response and cannot proceed any more, we need to close the browser and start the Firefox again.
We have tried closing the Tab but the memory not release in client side
So I suspect that there is some memory leakage when I use ValuesManager as well as to call editRecord() for multiple records loading. So I want to check is there any possible,
1. how can I check out the association that cannot detact after destroy?
2. how to force clear up or destroy the ValuesManager so that I can release the objects... and free up the memory?
Comment