1. #1
    Sencha User
    Join Date
    Jun 2008
    Posts
    17
    Vote Rating
    0
    onedaysale is on a distinguished road

      0  

    Default Chrome Memory/Garbage Collection issue

    Chrome Memory/Garbage Collection issue


    I 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.

    Any ideas?

    Do i have a memory leak or is this a chrome bug?

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,360
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Moved to Ext Help. Please post in the proper forums.

Similar Threads

  1. Error during garbage collection
    By dekely in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 7 Nov 2010, 8:09 AM
  2. ext : garbage collection
    By ahwin in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 13 Apr 2009, 3:47 PM
  3. Garbage collection for Components
    By XASD in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 18 Feb 2009, 5:22 AM
  4. Garbage collection
    By najra in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 20 Aug 2008, 9:41 AM

Thread Participants: 1

Tags for this Thread