bimvie.ws icon indicating copy to clipboard operation
bimvie.ws copied to clipboard

How to release the previous model data memory in Chrome when I see a new model

Open btc100w opened this issue 7 years ago • 4 comments

Hi,rubendel. Last week I issues the question in the Repositories of BIMServer(https://github.com/opensourceBIM/BIMserver/issues/482),when I see more and more model,the memory of Chrome increase significantly and finally hard to use.I want to realize that when I see a new model,the previous model data memory can be released. I use the performance tool of Chorme and find that when I click the see button,three function was called in bimviews.js,which packed in home/plugins/org.opensourcebim.bimviews-0.0.106.jar. How can I do something of that to achieve my goal?

qq 20180613084521

btc100w avatar Jun 13 '18 01:06 btc100w

In the crossposted issue, you talked about subsequently checking-in several models, now you talk about "seeing" a model, those are two different things.

I just tried to view the same model a dozen times (without refreshing the browser), memory does not increase significantly. There are a lot of ways of viewing a model in BIMvie.ws though, maybe a specific path does not release the memory correctly, but I need to know which steps you take, maybe record it in a video?

rubendel avatar Jun 13 '18 07:06 rubendel

sorry,I means " viewing a model",not check in.

I have uploaded my action video.You can see the chrome memory increase (The second column of windows task management) when I viewing more and more model and lastly refresh the Chrome,memory go back to normal

https://youtu.be/e1FDyDhQLY0

btc100w avatar Jun 14 '18 03:06 btc100w

i have also seen this problem, you may need to try a bigger ifc model > 100MB. and can you give any useful suggestions? @rubendel thanks a lot

chanwengit avatar Jun 29 '18 08:06 chanwengit

I confirm after closing of the browser memory on the server is not released, also after transition to other model memory on the server is not released. Helps only restart eclipse

bimmodel avatar Apr 26 '19 12:04 bimmodel