Jump to content

David An

  • Posts

  • Joined

  • Last visited


0 Newbie

Recent Profile Visitors

1,835 profile views
  1. Is there anyone can help me? I want to download full documentation of Greensock on my local. Thanks for your help,
  2. Hello Guys. I have researched GSAP for three days and finally found something. Most of apps using GSAP have the same issue - memory leak. For instance, some slider using GSAP - Revolution Slider and Layer Slider have this memory issue. Please check their demo sliders: (They don't use Draggable or ThrowPropsPlugin but have the memory issue.) Revolution Slider: http://themes.themepunch.com/?theme=revolution_jq Layer Slider: http://kreaturamedia.com/layerslider-responsive-jquery-slider-plugin/ If I keep their demo pages tab activated on Chrome for 4 ~ 5 hours, memory usage of the page reaches to over 1GB. But Others not using GSAP have no such issue. For instance, Master Slider(Even they have similar animations): http://www.masterslider.com/jquery/ It's not any browser extension problem or any other reason, I have tested in Incognito mode of Chrome on Windows 7 64 bit System (4GB of RAM) Sliders using GSAP I have researched and even greensock.com pages have same issue so I am surely saying GSAP has something to fix on such problem. I am developing a slider as well and have such issue. I really hope GSAP dev team will review through their all libraries and fix such issue as I really need their libraries. That's why I purchase their membership.
  3. We don't have any tween to manage the visibility state of browser tabs or windows. Please check this: https://greensock.com/throwpropsplugin. In that page we didn't animate any element but memory is increasing. I have exact same issue on my site. Not sure what ThrowPropsPlugin is doing with memory on that page which has no element animating. And it should not be increased even if we have any number of tweens. Memory should be released and dropped to normal. If it use always 1GB of memory without increasing, it's not memory leak issue but it's continuously increasing. Finally the tab crashes!
  4. Hello Diaco Thanks for your reply. But I think javascript is stopped in inactive tab in chrome so in your screenshot, you couldn't see memory increased. If you keep that page activated, you will see the issue. And It's not based on Adblock extension. I removed it on my Chrome but same issue!
  5. Please check this screen shot of your sample page https://greensock.com/throwpropsplugin: http://webuddysoft.com/memory_issue.PNG As you can see it has been increased by about 1.3 GB for 3 hours. Same issue on my site.
  6. I am already member of Greensock Club to purchase ThrowPorpsPlugin.js but it has memory leak issue. I have included TweenMax.js, Draggable.js, ThrowPropsPlugin.js and used this code: Draggable.create(".kr-thumb-inner", { type: 'x', edgeResistance: 0.65, bounds: '.kr-thumb-wrapper', cursor: 'pointer', dragClickables: true, throwProps: true }); Any transition didn't start so no moving element, but memory is continuously increasing. When I get rid of ThrowPropsPlugin.js, memory leak issue was gone, but It was always happen until I remove ThrowPorpsPlugin.js even I removed this option: "throwProps: true". Please check Greensock sample page itself. : https://greensock.com/throwpropsplugin It has also memory continuously increasing. You can see the page has that issue if you SHIFT + ESC in Chrome. I really need this plugin but not useful if it has such issue. Please HELP ME!
  7. David An

    Big Memory Leak

    I created a new pen on CodePen: http://codepen.io/davidan0926/pen/bKCGv You can check memory leak issue. And I found very interesting stuff on it. You can see the following code: cloud_container.css({ width: 1280, height: 100020 }); When I remove setting height so left only width setting, the memory leak issue was gone. And when I reduce the height value like height:120, memory leak was reduced as well. When I set the height with big value like above : height:100020, memory leak was up again. And also when I set height to 720, in 1920 X 1080 resolution desktop, error was reduced. but in 1366 X 768 desktop, it was still buggy. I have no idea why it's related with screen resolution. Please advice. Thanks
  8. David An

    Big Memory Leak

    TweenLite.to(cloud_wrapper.find('.kr-line-timer'), openedSkyDurRemaining / 1000, { css: { width : cloud_wrapper.width() }, ease: Linear.easeNone, onComplete: function() { cloud_wrapper.find('.kr-line-timer').css('width', 0); } } ); The code above has big memory leak and memory is increasing by 1.5G for 5~6 hours and finally chrome crashes. If I remove this code, the memory leak issue is gone. cloud_wrapper has some elements has event listeners defined using jquery like following: cloud_wrapper.find('.kr-nav-arrow').on('click', function() { ... }); But it's not the object (kr-line-timer) used for TweenLite. Some people says I should remove listeners to fix memory leak issue. But If yes, when can I add the listeners again to accomplish my logic? If not, how can I fix this issue?