pissang / clay-viewer

3D model viewer with high quality rendering and glTF2.0/GLB export
https://pissang.github.io/clay-viewer/editor/
BSD 3-Clause "New" or "Revised" License
773 stars 98 forks source link

"Reset" — Multi clicking Memory issue [Win] [0.1.1] #60

Open SibDiP opened 6 years ago

SibDiP commented 6 years ago

Probably connected with #59

Test stand :

OS: Windows 10 64-bit CPU Intel Core i3 4160 @ 3.60GHz Haswell 22nm Technology   RAM: 8,00ГБ Dual-Channel DDR3 (9-9-9-24)   Motherboard: Gigabyte Technology Co. Ltd. H81M-S1 (SOCKET 0)   Graphics: SyncMaster (1680x1050@60Hz)    Intel HD Graphics 4400 (Gigabyte)   Storage: 119GB Samsung SSD 850 PRO 128GB (SSD), 5581GB Microsoft Storage Space Device  

Programm Info:

Version: 0.1.1 Platform: desktop (Win)

Descripton:

Multiple clicking on "Reset" button causes an increase of memory consumption.

Steps:

  1. Open qtek-model-viewer.exe | ~230mb RAM
  2. Click on "Reset" button a several times. | ~1 200mb RAM
  3. Whait for a while | ~1 000mb RAM and does not decrease
  4. Import a 3D model | ~1 400 mb RAM
  5. Click on "Reset" button | ~1 000mb RAM
  6. Close qtek-model-viewer.exe
  7. Open qtek-model-viewer.exe | ~230mb RAM
  8. Import a 3D model | ~650 mb RAM

Video

Link