4 Feb 2011 2:43 PM #1
Chrome Memory/Garbage Collection issueI am having memory/garbage collection issues with Chrome
I am working on a photo uploading site which allows my client to drag and drop photos to upload using HTML5 and file API, so this wont work in IE. it only works in Chrome and FF. I haven't tested in Safari, Opera yet.
In the live version I am using ExtJs. but in my test case below, I am not using any JS frameworks and my example is less than 80 lines of code, so it's really easy to follow.
Here is my example: http://seesquaredphoto.com/testPreview.html
If you drag and drop a handful of JPG photos (4-5MB each) into the box you will see the previews load and in windows task manager, you can see the memory usage climb for that window. If you click the "Clear Images" button, the images are deleted.
If you do this in FF, after a few seconds, the memory returns to back what it was before you previewed the images. However in chrome, the memory does not drop.
Do i have a memory leak or is this a chrome bug?
9 Feb 2011 11:08 AM #2
- Join Date
- Mar 2007
- DC Area =)
- Vote Rating
By dekely in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 7 Nov 2010, 8:09 AM
By ahwin in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 13 Apr 2009, 3:47 PM
By XASD in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 18 Feb 2009, 5:22 AM
By najra in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 20 Aug 2008, 9:41 AM